mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-21 06:01:43 +00:00
t/ctl: Add usage information
This commit is contained in:
parent
250ef94d71
commit
e21f4a2458
|
@ -171,7 +171,10 @@ main(int argc, char *argv[])
|
|||
if (optopt == 's') {
|
||||
PE("Option -s requires an id to set.\n");
|
||||
} else if (isprint(optopt)) {
|
||||
PE("Option `-%c' unknown.\n", optopt);
|
||||
PE("Option `-%c' unknown. Usage:\n", optopt);
|
||||
PE(" -f <id>: Set focused client\n");
|
||||
PE(" -p <id>: Set primary client\n");
|
||||
PE(" -i <id>: Toggle whether client receives input\n");
|
||||
} else {
|
||||
PE("Option `\\x%x' unknown.\n", optopt);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue