diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-26 01:12:36 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-26 01:12:36 +0900 |
commit | b453be75c9656bb311aa88d50b367a5ccb414e37 (patch) | |
tree | 6f3706b8e9c6315df6df888af4f4b19de177c45e /sphinx/cmd/quickstart.py | |
parent | f2a31185a65b31883846e5d127bf9a7dfe968db0 (diff) | |
download | sphinx-git-b453be75c9656bb311aa88d50b367a5ccb414e37.tar.gz |
Fix #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
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 cad3c65e5..2363f9fe4 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -489,8 +489,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.')) |