diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /coreutils/mkdir.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
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 0de0d5c3b..e425bbe5e 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c | |||
@@ -19,6 +19,25 @@ | |||
19 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. | 19 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | //usage:#define mkdir_trivial_usage | ||
23 | //usage: "[OPTIONS] DIRECTORY..." | ||
24 | //usage:#define mkdir_full_usage "\n\n" | ||
25 | //usage: "Create DIRECTORY\n" | ||
26 | //usage: "\nOptions:" | ||
27 | //usage: "\n -m MODE Mode" | ||
28 | //usage: "\n -p No error if exists; make parent directories as needed" | ||
29 | //usage: IF_SELINUX( | ||
30 | //usage: "\n -Z Set security context" | ||
31 | //usage: ) | ||
32 | //usage: | ||
33 | //usage:#define mkdir_example_usage | ||
34 | //usage: "$ mkdir /tmp/foo\n" | ||
35 | //usage: "$ mkdir /tmp/foo\n" | ||
36 | //usage: "/tmp/foo: File exists\n" | ||
37 | //usage: "$ mkdir /tmp/foo/bar/baz\n" | ||
38 | //usage: "/tmp/foo/bar/baz: No such file or directory\n" | ||
39 | //usage: "$ mkdir -p /tmp/foo/bar/baz\n" | ||
40 | |||
22 | #include "libbb.h" | 41 | #include "libbb.h" |
23 | 42 | ||
24 | /* This is a NOFORK applet. Be very careful! */ | 43 | /* This is a NOFORK applet. Be very careful! */ |