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/dirname.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/dirname.c')
-rw-r--r-- | coreutils/dirname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/coreutils/dirname.c b/coreutils/dirname.c index 246946ed0..101067c90 100644 --- a/coreutils/dirname.c +++ b/coreutils/dirname.c | |||
@@ -10,6 +10,17 @@ | |||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/dirname.html */ | 11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/dirname.html */ |
12 | 12 | ||
13 | //usage:#define dirname_trivial_usage | ||
14 | //usage: "FILENAME" | ||
15 | //usage:#define dirname_full_usage "\n\n" | ||
16 | //usage: "Strip non-directory suffix from FILENAME" | ||
17 | //usage: | ||
18 | //usage:#define dirname_example_usage | ||
19 | //usage: "$ dirname /tmp/foo\n" | ||
20 | //usage: "/tmp\n" | ||
21 | //usage: "$ dirname /tmp/foo/\n" | ||
22 | //usage: "/tmp\n" | ||
23 | |||
13 | #include "libbb.h" | 24 | #include "libbb.h" |
14 | 25 | ||
15 | /* This is a NOFORK applet. Be very careful! */ | 26 | /* This is a NOFORK applet. Be very careful! */ |