summaryrefslogtreecommitdiff
path: root/sphinx/cmd/quickstart.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-10-28 02:23:36 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-10-28 02:23:36 +0900
commitc40b4249cdc2a1d78ba6b92a0009bf1f942b68d4 (patch)
treed79f144a14695c7c1d1e2ad24c9d80087bb3ea1b /sphinx/cmd/quickstart.py
parentf1af7dc84fed8143e8bf7a51edb1338e21e6f901 (diff)
parent2c2335bbb8af99fa132e1573bbf45dc91584d5a2 (diff)
downloadsphinx-git-c40b4249cdc2a1d78ba6b92a0009bf1f942b68d4.tar.gz
Merge branch '3.x' into master
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r--sphinx/cmd/quickstart.py4
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.'))