From 60896c0f04a254f988a5cb1b5c79154e05a09203 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Tue, 17 Nov 2015 09:13:52 -0800 Subject: [PATCH] Add --version to command line arguments. --- meson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.py b/meson.py index 1720117b2..4e85705cc 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='*')