diff options
author | Elliott Hughes <enh@google.com> | 2018-11-13 13:21:18 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-13 15:48:25 -0600 |
commit | 9fb36217ced80914f0bc03599212da07c0b6dfd9 (patch) | |
tree | e35f4b09a4c40f60613039308ca767c622409fd7 | |
parent | 6a73e13d75d31da2c3f1145d8487725f0073a4b8 (diff) | |
download | toybox-9fb36217ced80914f0bc03599212da07c0b6dfd9.tar.gz |
mkdir: accept both --parent and --parents as synonyms for -p.
Both occur in AOSP. (Until I looked, I had no idea there were _two_
long versions of -p...)
-rw-r--r-- | toys/posix/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c index 05eac0ba..956925da 100644 --- a/toys/posix/mkdir.c +++ b/toys/posix/mkdir.c @@ -4,7 +4,7 @@ * * See http://opengroup.org/onlinepubs/9699919799/utilities/mkdir.html -USE_MKDIR(NEWTOY(mkdir, "<1"USE_MKDIR_Z("Z:")"vpm:", TOYFLAG_BIN|TOYFLAG_UMASK)) +USE_MKDIR(NEWTOY(mkdir, "<1"USE_MKDIR_Z("Z:")"vp(parent)(parents)m:", TOYFLAG_BIN|TOYFLAG_UMASK)) config MKDIR bool "mkdir" |