Skip to content

Commit

Permalink
Merge pull request saltstack#36370 from rallytime/add-versions-report…
Browse files Browse the repository at this point in the history
…-shortcut

Add -V option to work with --versions-report
  • Loading branch information
Mike Place authored Sep 17, 2016
2 parents c0dffdf + d86e5ff commit 6b9f0f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salt/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ def _populate_option_list(self, option_list, add_help=True):
def _add_version_option(self):
optparse.OptionParser._add_version_option(self)
self.add_option(
'--versions-report', action='store_true',
'--versions-report',
'-V',
action='store_true',
help='Show program\'s dependencies version number and exit.'
)

Expand Down

0 comments on commit 6b9f0f1

Please sign in to comment.