diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/id.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.bz2 busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.zip |
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/id.c')
-rw-r--r-- | coreutils/id.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/coreutils/id.c b/coreutils/id.c index 0639325c3..42ed4c749 100644 --- a/coreutils/id.c +++ b/coreutils/id.c | |||
@@ -15,6 +15,24 @@ | |||
15 | * Added -G option Tito Ragusa (C) 2008 for SUSv3. | 15 | * Added -G option Tito Ragusa (C) 2008 for SUSv3. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | //usage:#define id_trivial_usage | ||
19 | //usage: "[OPTIONS] [USER]" | ||
20 | //usage:#define id_full_usage "\n\n" | ||
21 | //usage: "Print information about USER or the current user\n" | ||
22 | //usage: "\nOptions:" | ||
23 | //usage: IF_SELINUX( | ||
24 | //usage: "\n -Z Security context" | ||
25 | //usage: ) | ||
26 | //usage: "\n -u User ID" | ||
27 | //usage: "\n -g Group ID" | ||
28 | //usage: "\n -G Supplementary group IDs" | ||
29 | //usage: "\n -n Print names instead of numbers" | ||
30 | //usage: "\n -r Print real ID instead of effective ID" | ||
31 | //usage: | ||
32 | //usage:#define id_example_usage | ||
33 | //usage: "$ id\n" | ||
34 | //usage: "uid=1000(andersen) gid=1000(andersen)\n" | ||
35 | |||
18 | #include "libbb.h" | 36 | #include "libbb.h" |
19 | 37 | ||
20 | /* This is a NOEXEC applet. Be very careful! */ | 38 | /* This is a NOEXEC applet. Be very careful! */ |