aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-04 18:40:13 +0200
committerGitHub <noreply@github.com>2019-03-04 18:40:13 +0200
commitee863d33c134a78636c71392eac3a7c6939317e5 (patch)
treec100edef6537d461f1fc6de140cc303326ee9d46 /mesonbuild/mesonmain.py
parent94bb29738eb00f873c3467eba0bada4ca58d8ab9 (diff)
parent75f436542cf58cc54817d095788b24ea1101d95f (diff)
downloadmeson-ee863d33c134a78636c71392eac3a7c6939317e5.zip
meson-ee863d33c134a78636c71392eac3a7c6939317e5.tar.gz
meson-ee863d33c134a78636c71392eac3a7c6939317e5.tar.bz2
Merge pull request #2601 from 1ace/feature/completion
Add completion scripts for Bash and Zsh
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 822a943..91a52b1 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -28,6 +28,8 @@ from .environment import detect_msys2_arch
from .wrap import wraptool
+# Note: when adding arguments, please also add them to the completion
+# scripts in $MESONSRC/data/shell-completions/
class CommandLineParser:
def __init__(self):
self.term_width = shutil.get_terminal_size().columns