Skip to content

Commit

Permalink
Merge pull request #47 from chohner/add_version_flag
Browse files Browse the repository at this point in the history
Add -v version argument
  • Loading branch information
GaretJax committed Jul 5, 2017
2 parents c5a984b + e7112a3 commit 2384ae9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sphinx_autobuild/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def get_relative_path(self, path):
('A', 'name=value'),
('n', None),

('v', None),
# ('v', None),
('q', None),
('Q', None),
('w', 'file'),
Expand Down Expand Up @@ -242,6 +242,8 @@ def get_parser():
help=('Specify additional directories to watch. May be'
' used multiple times.'),
dest='additional_watched_dirs')
parser.add_argument('-v', '--version', action='version',
version=__version__)

for opt, meta in SPHINX_BUILD_OPTIONS:
if meta is None:
Expand Down

0 comments on commit 2384ae9

Please sign in to comment.