aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorWink Saville <wink@saville.com>2015-11-17 09:13:52 -0800
committerWink Saville <wink@saville.com>2015-11-17 09:13:52 -0800
commit60896c0f04a254f988a5cb1b5c79154e05a09203 (patch)
treebba0f69ef15c06855548fa957774c8ec8a5248d0 /meson.py
parent56f11cf89bc6606846a281464847757682833a07 (diff)
downloadmeson-60896c0f04a254f988a5cb1b5c79154e05a09203.zip
meson-60896c0f04a254f988a5cb1b5c79154e05a09203.tar.gz
meson-60896c0f04a254f988a5cb1b5c79154e05a09203.tar.bz2
Add --version to command line arguments.
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.py b/meson.py
index 1720117..4e85705 100755
--- a/meson.py
+++ b/meson.py
@@ -73,7 +73,7 @@ parser.add_argument('--cross-file', default=None, dest='cross_file',
help='file describing cross compilation environment')
parser.add_argument('-D', action='append', dest='projectoptions', default=[],
help='Set project options.')
-parser.add_argument('-v', action='store_true', dest='print_version', default=False,
+parser.add_argument('-v', '--version', action='store_true', dest='print_version', default=False,
help='Print version.')
parser.add_argument('directories', nargs='*')