diff options
author | Pere Orga | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/mkdir.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-34425389e09353a8dacdd6b23a62553f699c544c.zip busybox-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz |
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/mkdir.c')
-rw-r--r-- | coreutils/mkdir.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index 0de0d5c..e425bbe 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c @@ -19,6 +19,25 @@ /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. */ +//usage:#define mkdir_trivial_usage +//usage: "[OPTIONS] DIRECTORY..." +//usage:#define mkdir_full_usage "\n\n" +//usage: "Create DIRECTORY\n" +//usage: "\nOptions:" +//usage: "\n -m MODE Mode" +//usage: "\n -p No error if exists; make parent directories as needed" +//usage: IF_SELINUX( +//usage: "\n -Z Set security context" +//usage: ) +//usage: +//usage:#define mkdir_example_usage +//usage: "$ mkdir /tmp/foo\n" +//usage: "$ mkdir /tmp/foo\n" +//usage: "/tmp/foo: File exists\n" +//usage: "$ mkdir /tmp/foo/bar/baz\n" +//usage: "/tmp/foo/bar/baz: No such file or directory\n" +//usage: "$ mkdir -p /tmp/foo/bar/baz\n" + #include "libbb.h" /* This is a NOFORK applet. Be very careful! */ |