OSDN Git Service

Allow ':' in property names. am: 35cd738175
[android-x86/external-toybox.git] / Config.in
index 07c6d70..5c4b5fe 100644 (file)
--- 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
@@ -68,6 +77,12 @@ config TOYBOX_LIBCRYPTO
        help
          Use faster hash functions out of exteral -lcrypto library.
 
+config TOYBOX_LIBZ
+       bool "Use libz (zlib)"
+       default n
+       help
+         Use libz for gz support.
+
 config TOYBOX_FLOAT
        bool "Floating point support"
        default y
@@ -126,6 +141,12 @@ config TOYBOX_DEBUG
          Enable extra checks for debugging purposes. All of them catch
          things that can only go wrong at development time, not runtime.
 
+config TOYBOX_PEDANTIC_ARGS
+       bool "Pedantic argument checking"
+       default n
+       help
+         Check arguments for commands that have no arguments.
+
 config TOYBOX_UID_SYS
        int "First system UID"
        default 100
@@ -148,19 +169,12 @@ config TOYBOX_MUSL_NOMMU_IS_BROKEN
          daemon() at compile time, musl intentionally includes broken versions
          that always return -ENOSYS on nommu systems, and goes out of its way
          to prevent any cross-compile compatible compile-time probes for a
-         nommu system.
+         nommu system. (It doesn't even #define __MUSL__ in features.h.)
 
          Musl does this despite the fact that a nommu system can't even run
          standard ELF binaries, and requires specially packaged executables.
-         (You can't even check a #define to see that you're building against
-         musl, due to its maintainer's policy that musl never has bugs that
-         require workarounds.)
-
          So our only choice is to manually provide a musl nommu bug workaround
          you can manually select to enable (larger, slower) nommu support with
          musl.
 
-         You don't need this for uClibc, we have a compile time probe that
-         autodetects nommu support there.
-
 endmenu