OSDN Git Service

Add config option for --help support in all commands.
[android-x86/external-toybox.git] / Config.in
1 mainmenu "ToyBox Configuration"
2
3
4 source generated/Config.probed
5 source generated/Config.in
6
7 comment ""
8
9 menu "Toybox global settings"
10
11 config TOYBOX
12         bool
13         default n
14         help
15           usage: toybox [command] [arguments...]
16
17           With no arguments, shows available commands. First argument is
18           name of a command to run, followed by any arguments to that command.
19
20 config TOYBOX_SUID
21         bool "SUID support"
22         default y
23         help
24           Support for the Set User ID bit, to install toybox suid root and drop
25           permissions for commands which do not require root access. To use
26           this change ownership of the file to the root user and set the suid
27           bit in the file permissions:
28
29           chown root:root toybox; chmod +s toybox
30
31 config TOYBOX_FLOAT
32         bool "Floating point support"
33         default y
34         help
35           Include floating point support infrastructure and commands that
36           require it.
37
38 config TOYBOX_HELP
39         bool "Help messages"
40         default y
41         help
42           Include help text for each command.
43
44 config TOYBOX_HELP_DASHDASH
45         bool "--help"
46         default y
47         depends on TOYBOX_HELP
48         help
49           Support --help argument in all commands, even ones with a NULL
50           optstring. Produces the same output as "help command".
51
52 config TOYBOX_I18N
53         bool "Internationalization support"
54         default y
55         help
56           Support for UTF-8 character sets, and some locale support.
57
58 config TOYBOX_FREE
59         bool "Free memory unnecessarily"
60         default n
61         help
62           When a program exits, the operating system will clean up after it
63           (free memory, close files, etc). To save size, toybox usually relies
64           on this behavior. If you're running toybox under a debugger or
65           without a real OS (ala newlib+libgloss), enable this to make toybox
66           clean up after itself.
67
68 config TOYBOX_DEBUG
69         bool "Debugging tests"
70         default n
71         help
72           Enable extra checks for debugging purposes.
73
74 endmenu