Running tuna with the long option --config_file_list without specifying
an argument produces an error "option --config_file_list requires argument".
This option should not require an argument, and running the short option
`tuna -l` does not produce this error.
Signed-off-by: Leah Leshchinsky <lleshchi(a)redhat.com>
---
tuna-cmd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuna-cmd.py b/tuna-cmd.py
index f9b20f7..8093b0c 100755
--- a/tuna-cmd.py
+++ b/tuna-cmd.py
@@ -504,7 +504,7 @@ def main():
"show_irqs", "irqs=",
"save=", "sockets=", "threads=",
"no_uthreads",
"version", "what_is", "spread",
"cgroup", "config_file_apply=",
- "config_file_list=", "run=", "refresh=",
"disable_perf"]
+ "config_file_list", "run=", "refresh=",
"disable_perf"]
if have_inet_diag:
short += "n"
long.append("show_sockets")
--
2.27.0
Show replies by date