Implement -m option for mkdir

This commit is contained in:
sin
2013-08-31 22:51:25 +01:00
parent 36afa1e169
commit 4d014e66fd
2 changed files with 14 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
mkdir \- make directory
.SH SYNOPSIS
.B mkdir
.RB [ \-p ]
.RB [ \-pm ]
.RI [ name ...]
.SH DESCRIPTION
.B mkdir
@@ -13,5 +13,7 @@ creates the specified directories.
.B \-p
creates any necessary parent directories, and does not fail if the target
already exists.
.B \-m
set the file permission bits of the newly created directory.
.SH SEE ALSO
.IR mkdir (2)