diff options
author | Rob Landley <rob@landley.net> | 2016-10-05 13:29:55 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-10-05 13:29:55 -0500 |
commit | cefc0a2183f57173dab47cf89fcb37e7a827f258 (patch) | |
tree | 746c869f8df2cf7b6db2a3066c932ab7ffc9984b | |
parent | 346c33c8b22f6e6780d0a7132982a81512172a58 (diff) | |
download | toybox-cefc0a2183f57173dab47cf89fcb37e7a827f258.tar.gz |
Explain some generic argument parsing features in toybox --help.
-rw-r--r-- | Config.in | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -13,17 +13,26 @@ config TOYBOX bool default y help - usage: toybox [--long | --version | [command] [arguments...]] + usage: toybox [--long | --help | --version | [command] [arguments...]] With no arguments, shows available commands. First argument is name of a command to run, followed by any arguments to that command. --long Show path to each command - --version Show toybox version To install command symlinks, try: for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done + Most toybox commands also understand the following arguments: + + --help Show command help (only) + --version Show toybox version (only) + + The filename "-" means stdin, "--" stops argument parsing, + and numerical arguments accept a single letter suffix for + kilo, mega, giga, tera, peta, and exabytes, plus an additional + "d" to indicate decimal 1000's instead of 1024. + config TOYBOX_SUID bool "SUID support" default y |