From adf7893de2335c8eff0bbdf263619f2a0c2b68e6 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Mon, 5 Dec 2022 16:38:13 +0100 Subject: [PATCH] annotations: allow to specify --write and --note at the same time Signed-off-by: Andrea Righi --- annotations | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annotations b/annotations index a61dd3e..6b1a0a3 100755 --- a/annotations +++ b/annotations @@ -35,13 +35,13 @@ def make_parser(): help='Select a specific config option') parser.add_argument('--query', '-q', action='store_true', help='Query annotations') + parser.add_argument('--note', '-n', action='store', + help='Write a specific note to a config option in annotations') ga = parser.add_argument_group(title='Action').add_mutually_exclusive_group(required=False) ga.add_argument('--write', '-w', action='store', metavar='VALUE', dest='value', help='Set a specific config value in annotations (use \'null\' to remove)') - ga.add_argument('--note', '-n', action='store', - help='Write a specific note to a config option in annotations') ga.add_argument('--export', '-e', action='store_true', help='Convert annotations to .config format') ga.add_argument('--import', '-i', action='store', -- 2.31.1