diff options
author | Rob Landley <rob@landley.net> | 2014-03-28 17:48:02 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-03-28 17:48:02 -0500 |
commit | 36aa7d7382f64695ef003e5616890188b9f1f61b (patch) | |
tree | 5ca460327629086457f333aa5364c11dbf6ff0e1 /main.c | |
parent | e9a41fc5ae51ccf7bd5677773bfe72d01f06b3cd (diff) | |
download | toybox-36aa7d7382f64695ef003e5616890188b9f1f61b.tar.gz |
Add help -a (to show all commands) and -h (to produce HTML output).
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -162,6 +162,8 @@ int main(int argc, char *argv[]) { if (CFG_TOYBOX_I18N) setlocale(LC_ALL, ""); + toys.toycount = ARRAY_LEN(toy_list); + if (CFG_TOYBOX) { // Trim path off of command name *argv = basename(*argv); |