diff options
author | Luke Elliott <luke.b.elliott@gmail.com> | 2023-09-11 07:37:51 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-11-01 00:06:19 +0200 |
commit | ce691f8c98aeb72a246c4d6e9d60ed9ec88a6afd (patch) | |
tree | aff73382e0588159fae2d28cf46342438e0b91cf /mesonbuild/wrap/wraptool.py | |
parent | 99fadccd29c709e652f0fab5b5738fadfc4a2ebe (diff) | |
download | meson-ce691f8c98aeb72a246c4d6e9d60ed9ec88a6afd.zip meson-ce691f8c98aeb72a246c4d6e9d60ed9ec88a6afd.tar.gz meson-ce691f8c98aeb72a246c4d6e9d60ed9ec88a6afd.tar.bz2 |
Add comments suggesting to keep shell completion scripts up-to-date near cmd line argument code
Diffstat (limited to 'mesonbuild/wrap/wraptool.py')
-rw-r--r-- | mesonbuild/wrap/wraptool.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/wrap/wraptool.py b/mesonbuild/wrap/wraptool.py index c009aa1..c4ff9db 100644 --- a/mesonbuild/wrap/wraptool.py +++ b/mesonbuild/wrap/wraptool.py @@ -28,6 +28,8 @@ from .. import mesonlib, msubprojects if T.TYPE_CHECKING: import argparse +# Note: when adding arguments, please also add them to the completion +# scripts in $MESONSRC/data/shell-completions/ def add_arguments(parser: 'argparse.ArgumentParser') -> None: subparsers = parser.add_subparsers(title='Commands', dest='command') subparsers.required = True |