diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-22 16:39:34 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-09-22 16:58:08 -0700 |
commit | 87248d9020c471f43760bba339eff87addfc424f (patch) | |
tree | c5978b54c774b9f95a4692bae6537290f36c7b40 /mesonbuild/mdist.py | |
parent | ecefe45f8e40b3e40337e7375c2c2c391a98e85e (diff) | |
download | meson-87248d9020c471f43760bba339eff87addfc424f.zip meson-87248d9020c471f43760bba339eff87addfc424f.tar.gz meson-87248d9020c471f43760bba339eff87addfc424f.tar.bz2 |
mdist: actually constrain the choices of the --formats option
Since we already have that list available.
Diffstat (limited to 'mesonbuild/mdist.py')
-rw-r--r-- | mesonbuild/mdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mdist.py b/mesonbuild/mdist.py index fbda240..6985ca9 100644 --- a/mesonbuild/mdist.py +++ b/mesonbuild/mdist.py @@ -35,7 +35,7 @@ archive_extension = {'gztar': '.tar.gz', def add_arguments(parser): parser.add_argument('-C', default='.', dest='wd', help='directory to cd into before running') - parser.add_argument('--formats', default='xztar', + parser.add_argument('--formats', default='xztar', choices=archive_choices, help='Comma separated list of archive types to create.') parser.add_argument('--include-subprojects', action='store_true', help='Include source code of subprojects that have been used for the build.') |