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/rewriter.py | |
| parent | 99fadccd29c709e652f0fab5b5738fadfc4a2ebe (diff) | |
| download | meson-ce691f8c98aeb72a246c4d6e9d60ed9ec88a6afd.tar.gz | |
Add comments suggesting to keep shell completion scripts up-to-date near cmd line argument code
Diffstat (limited to 'mesonbuild/rewriter.py')
| -rw-r--r-- | mesonbuild/rewriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/rewriter.py b/mesonbuild/rewriter.py index a86b97ecc..d6509fc97 100644 --- a/mesonbuild/rewriter.py +++ b/mesonbuild/rewriter.py @@ -38,6 +38,8 @@ if T.TYPE_CHECKING: class RewriterException(MesonException): pass +# Note: when adding arguments, please also add them to the completion +# scripts in $MESONSRC/data/shell-completions/ def add_arguments(parser, formatter=None): parser.add_argument('-s', '--sourcedir', type=str, default='.', metavar='SRCDIR', help='Path to source directory.') parser.add_argument('-V', '--verbose', action='store_true', default=False, help='Enable verbose output') |
