Skip to content

Commit 3d97311

Browse files
author
Damien Nadé
committed
tutorial/4-types: --directory is now also -d
1 parent 1ef80c9 commit 3d97311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tutorial/4-types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ argsparse_use_option option1 "An option" value type:int
1111

1212
# Argsparse has a bunch of built-in types. Most of them are self explicit.
1313
argsparse_use_option file: "A regular file" type:file
14-
argsparse_use_option directory: "A directory" type:directory
14+
argsparse_use_option =directory: "A directory" type:directory
1515
argsparse_use_option pipe: "An on-disk named FIFO" type:pipe
1616
argsparse_use_option terminal: \
1717
"A file descriptor pointing number to a terminal" type:terminal

0 commit comments

Comments
 (0)