aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <michaelbrockus@gmail.com>2020-02-19 19:04:03 -0800
committerMichael <michaelbrockus@gmail.com>2020-02-19 19:04:03 -0800
commit9edbaec2f481f021d6a4a0eded2d5e1f795b18ab (patch)
tree0f1bf0fbb7afb256852990da4f0cf9cef23fd522
parentea93619092bd916c51b9daeb66408335917a4237 (diff)
downloadmeson-9edbaec2f481f021d6a4a0eded2d5e1f795b18ab.zip
meson-9edbaec2f481f021d6a4a0eded2d5e1f795b18ab.tar.gz
meson-9edbaec2f481f021d6a4a0eded2d5e1f795b18ab.tar.bz2
make use of default project const
-rw-r--r--mesonbuild/minit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py
index 6fac878..f03eefc 100644
--- a/mesonbuild/minit.py
+++ b/mesonbuild/minit.py
@@ -217,7 +217,7 @@ def add_arguments(parser):
parser.add_argument("-b", "--build", action='store_true', help="build after generation")
parser.add_argument("--builddir", default='build', help="directory for build")
parser.add_argument("-f", "--force", action="store_true", help="force overwrite of existing files and directories.")
- parser.add_argument('--type', default='executable', choices=('executable', 'library'), help="project type. default: {} based project".format(DEFAULT_PROJECT))
+ parser.add_argument('--type', default=DEFAULT_PROJECT, choices=('executable', 'library'), help="project type. default: {} based project".format(DEFAULT_PROJECT))
parser.add_argument('--version', default=DEFAULT_VERSION, help="project version. default: {}".format(DEFAULT_VERSION))
def run(options) -> int: