diff options
author | Rob Landley <rob@landley.net> | 2021-06-18 08:57:07 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-06-18 08:57:07 -0500 |
commit | 29e7ed94a1fe2836d38960b9b3ab3e3b7e61c791 (patch) | |
tree | db99e26587f20bc129add53e7c236ea31c5e55f1 /lib | |
parent | 39f64538c2f5f56918d3352bc8a03aae6be0d1d9 (diff) | |
download | toybox-29e7ed94a1fe2836d38960b9b3ab3e3b7e61c791.tar.gz |
Second attempt at making --help work with alias ls="ls --color"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/args.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -426,6 +426,9 @@ void get_optflags(void) continue; } + if (CFG_TOYBOX_HELP_DASHDASH && !(toys.which->flags&TOYFLAG_NOHELP)) + check_help(toys.argv+gof.argc); + // do we match a known --longopt? for (lo = gof.longopts; lo; lo = lo->next) { if (!strncmp(gof.arg, lo->str, lo->len)) { |