Skip to content

Commit

Permalink
fix: note exist-ok behaviour of "mkdir -p" in argument help (#424)
Browse files Browse the repository at this point in the history
`mkdir -p` (and the underlying API) has also worked this way, this just
brings the help string up to date.
  • Loading branch information
benhoyt authored Jun 6, 2024
1 parent b8b1de7 commit bff2df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/cli/cmd_mkdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func init() {
Summary: cmdMkdirSummary,
Description: cmdMkdirDescription,
ArgsHelp: map[string]string{
"-p": "Create parent directories as needed",
"-p": "Create parent directories as needed, and don't fail if path already exists",
"-m": "Override mode bits (3-digit octal)",
"--uid": "Use specified user ID",
"--user": "Use specified username",
Expand Down

0 comments on commit bff2df3

Please sign in to comment.