Message ID | 20240716191920.607678-1-ashelat@redhat.com |
---|---|
State | Superseded |
Headers | show |
Series | [1/2] tuna: require -i option for cstate | expand |
diff --git a/tuna-cmd.py b/tuna-cmd.py index b6f94182241f..5a7e795e3bea 100755 --- a/tuna-cmd.py +++ b/tuna-cmd.py @@ -224,7 +224,7 @@ def gen_parser(): show_irqs.add_argument('-q', '--irqs', **MODS['irqs']) cstate.add_argument('-c', '--cpus', **MODS['cpus']) - cstate.add_argument('-i', '--cstate', **MODS['cstate']) + cstate.add_argument('-i', '--cstate', **MODS['cstate'], required=True) cstate.add_argument('--info', **MODS['info']) what_is.add_argument('thread_list', **POS['thread_list'])
Previously, user could run cstate subcommand without specifying cstate. Now the option to specify a cstate is required. Signed-off-by: Anubhav Shelat <ashelat@redhat.com> --- tuna-cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)