From cefc0a2183f57173dab47cf89fcb37e7a827f258 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 5 Oct 2016 13:29:55 -0500 Subject: Explain some generic argument parsing features in toybox --help. --- Config.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Config.in b/Config.in index 07c6d70c..8fb1f139 100644 --- a/Config.in +++ b/Config.in @@ -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 -- cgit v1.2.3