Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/scripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ and an optional argument ``date`` of type ``string`` which defaults to ``01/01/2
# One positional and one optional argument
parser.add_argument('name', type=str, metavar="N",
help="The name of the subject")
parser.add_argument('-d', '--date', type=string, default="01/01/2000",
parser.add_argument('-d', '--date', type=str, default="01/01/2000",
help="Birth date of the subject")

args = parser.parse_args()
Expand Down
Loading