From ca159ae4b837128165232c46b5bc323c52a8be44 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 7 Oct 2018 19:47:57 +0900 Subject: [PATCH] Fix typo --- doc_src/argparse.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/argparse.txt b/doc_src/argparse.txt index 6be1411d8..70278198a 100644 --- a/doc_src/argparse.txt +++ b/doc_src/argparse.txt @@ -62,7 +62,7 @@ The first `--` seen is what allows the `argparse` command to reliably separate t Each option specification is a string composed of -- A short flag letter (which is mandatory). It must be an alphanumeric or "#". The "#" character is special and means that a flag of the form `-123` is valid. The short flag "#" must be followed by "-" (since the short name isn't otherwise valid since `_flag_#` is not a valid var name) and must but followed by a long flag name with no modifiers. +- A short flag letter (which is mandatory). It must be an alphanumeric or "#". The "#" character is special and means that a flag of the form `-123` is valid. The short flag "#" must be followed by "-" (since the short name isn't otherwise valid since `_flag_#` is not a valid var name) and must be followed by a long flag name with no modifiers. - A `/` if the short flag can be used by someone invoking your command else `-` if it should not be exposed as a valid short flag. If there is no long flag name these characters should be omitted. You can also specify a '#' to indicate the short and long flag names can be used and the value can be specified as an implicit int; i.e., a flag of the form `-NNN`.