diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-28 02:23:36 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-28 02:23:36 +0900 |
commit | c40b4249cdc2a1d78ba6b92a0009bf1f942b68d4 (patch) | |
tree | d79f144a14695c7c1d1e2ad24c9d80087bb3ea1b /sphinx/cmd/quickstart.py | |
parent | f1af7dc84fed8143e8bf7a51edb1338e21e6f901 (diff) | |
parent | 2c2335bbb8af99fa132e1573bbf45dc91584d5a2 (diff) | |
download | sphinx-git-c40b4249cdc2a1d78ba6b92a0009bf1f942b68d4.tar.gz |
Merge branch '3.x' into master
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r-- | sphinx/cmd/quickstart.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 68f8b2a18..dc587600c 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -451,8 +451,10 @@ def get_parser() -> argparse.ArgumentParser: help=__('project root')) group = parser.add_argument_group(__('Structure options')) - group.add_argument('--sep', action='store_true', default=None, + group.add_argument('--sep', action='store_true', dest='sep', default=None, help=__('if specified, separate source and build dirs')) + group.add_argument('--no-sep', action='store_false', dest='sep', + help=__('if specified, create build dir under source dir')) group.add_argument('--dot', metavar='DOT', default='_', help=__('replacement for dot in _templates etc.')) |