mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
main/client: add no-op "-e" command-line option
This commit is contained in:
parent
537cd9b367
commit
ef7919e64d
5 changed files with 31 additions and 4 deletions
8
client.c
8
client.c
|
|
@ -71,7 +71,8 @@ print_usage(const char *prog_name)
|
|||
" -o,--override=[section.]key=value override configuration option\n"
|
||||
" -d,--log-level={info|warning|error|none} log level (info)\n"
|
||||
" -l,--log-colorize=[{never|always|auto}] enable/disable colorization of log output on stderr\n"
|
||||
" -v,--version show the version number and quit\n";
|
||||
" -v,--version show the version number and quit\n"
|
||||
" -e ignored (for compatibility with xterm -e)\n";
|
||||
|
||||
printf("Usage: %s [OPTIONS...]\n", prog_name);
|
||||
printf("Usage: %s [OPTIONS...] command [ARGS...]\n", prog_name);
|
||||
|
|
@ -145,7 +146,7 @@ main(int argc, char *const *argv)
|
|||
struct client_string *cargv = NULL;
|
||||
|
||||
while (true) {
|
||||
int c = getopt_long(argc, argv, "+t:T:a:w:W:mFLD:s:HNo:d:l::vh", longopts, NULL);
|
||||
int c = getopt_long(argc, argv, "+t:T:a:w:W:mFLD:s:HNo:d:l::veh", longopts, NULL);
|
||||
if (c == -1)
|
||||
break;
|
||||
|
||||
|
|
@ -273,6 +274,9 @@ main(int argc, char *const *argv)
|
|||
ret = EXIT_SUCCESS;
|
||||
goto err;
|
||||
|
||||
case 'e':
|
||||
break;
|
||||
|
||||
case '?':
|
||||
goto err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue