aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mdist.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-09-27 22:32:21 +0300
committerGitHub <noreply@github.com>2020-09-27 22:32:21 +0300
commit15761e78d2779e9614f59e873b3d250e436c977d (patch)
treedac3c1f86464fd3504a049f2b1fc0824ca49e38e /mesonbuild/mdist.py
parentdff40ca259c396568eeb4d05c534781ca148f8e7 (diff)
parent1b63dcc5310a4f93d5f5b7d266c269c1cb37649d (diff)
downloadmeson-15761e78d2779e9614f59e873b3d250e436c977d.zip
meson-15761e78d2779e9614f59e873b3d250e436c977d.tar.gz
meson-15761e78d2779e9614f59e873b3d250e436c977d.tar.bz2
Merge pull request #7776 from dcbaker/submit/zsh-additions
Add most missing zsh completions
Diffstat (limited to 'mesonbuild/mdist.py')
-rw-r--r--mesonbuild/mdist.py2
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.')