summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-27 13:08:14 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-28 09:36:09 +0200
commit8f2300afb5cae00595126ee9119a6f47c6e20b17 (patch)
tree3b3b441d71594422f1382023e0f67988bc43dd3e /Base/usr/share/man/man1
parentcd81aa41f0d00c865a9fa0df77010cd02a5f9810 (diff)
downloadserenity-8f2300afb5cae00595126ee9119a6f47c6e20b17.zip
mkdir: Add -p option to create parent directories
Diffstat (limited to 'Base/usr/share/man/man1')
-rw-r--r--Base/usr/share/man/man1/mkdir.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/Base/usr/share/man/man1/mkdir.md b/Base/usr/share/man/man1/mkdir.md
index 0755cb941a..c50befaefb 100644
--- a/Base/usr/share/man/man1/mkdir.md
+++ b/Base/usr/share/man/man1/mkdir.md
@@ -5,17 +5,21 @@ mkdir - create directories
## Synopsis
```**sh
-$ mkdir directories...
+$ mkdir [ options...] directories...
```
## Description
Create a new empty directory for each of the given *directories*.
+## Options
+
+* `-p`, `--parents`: Create parent directories if they don't exist
+
## Examples
```sh
-$ mkdir /tmp/foo
+$ mkdir -p /tmp/foo/bar
```
## See also