Minor change in the wording of argparsing.
This commit is contained in:
parent
268f243074
commit
6c37aeaa33
@ -36,12 +36,12 @@ def parser_setup(subparser):
|
|||||||
'--directory', action='store_const',
|
'--directory', action='store_const',
|
||||||
const='directory', dest='target_type',
|
const='directory', dest='target_type',
|
||||||
default='directory', help=(
|
default='directory', help=(
|
||||||
"Target is a directory"))
|
"Choose this option is the target is a directory."))
|
||||||
target_type.add_argument('-a',
|
target_type.add_argument('-a',
|
||||||
'--archive', action='store_const',
|
'--archive', action='store_const',
|
||||||
const='archive', dest='target_type',
|
const='archive', dest='target_type',
|
||||||
help=(
|
help=(
|
||||||
"Target is an archive."))
|
"Choose this option if the target is an archive."))
|
||||||
subparser.add_argument(
|
subparser.add_argument(
|
||||||
'target_path',
|
'target_path',
|
||||||
help=(
|
help=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user