summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index cbe90e2a4..789b57bd2 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -590,7 +590,7 @@ def main(argv=sys.argv):
# parse options
try:
- opts, args = parser.parse_args()
+ opts, args = parser.parse_args(argv[1:])
except SystemExit as err:
return err.code