aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-08-07 02:25:50 -0500
committerRob Landley <rob@landley.net>2020-08-07 02:25:50 -0500
commitefb8060a591b6ed13c16c4034db43652e03f90d5 (patch)
treebd8d2bcb3ea994a1d9bbcf0481d8185d16c9ef2e /Config.in
parent1d67afafcec61ef5e0bb743b174a450d1c4c7a1e (diff)
downloadtoybox-efb8060a591b6ed13c16c4034db43652e03f90d5.tar.gz
People have been having trouble finding the toybox web page (despite being
the first google hit for "android toybox"), and want toybox --help to mention it. I was referred to https://github.com/landley/toybox/issues/50 So add a URL to toybox --help. While I was there, make unrecognized commands (like toybox -?) suggest "toybox --help", move the install instructions to the FAQ page (with a second link from toybox --help), and generally tighten up the help text. Also, "toybox -*" is no longer a synonym for --long. Oh, and I fixed some build dependencies when Config.in changes.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in17
1 files changed, 7 insertions, 10 deletions
diff --git a/Config.in b/Config.in
index 362b22f3..aced2ab9 100644
--- a/Config.in
+++ b/Config.in
@@ -13,19 +13,16 @@ config TOYBOX
bool
default y
help
- usage: toybox [--long | --help | --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.
+ Toybox multicall binary: https://landley.net/toybox/about.html
- --long Show path to each command
+ With no arguments, "toybox" shows available COMMAND names. Add --long
+ to include suggested install path for each command, see
+ https://landley.net/toybox/faq.html#install for details.
- To install command symlinks with paths, try:
- for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
- or all in one directory:
- for i in $(./toybox); do ln -s toybox $i; done; PATH=$PWD:$PATH
-
- Most toybox commands also understand the following arguments:
+ First argument is name of a COMMAND to run, followed by any ARGUMENTS
+ to that command. Most toybox commands also understand:
--help Show command help (only)
--version Show toybox version (only)