diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 19:23:35 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 19:23:35 -0300 |
commit | 427f94c4fa3694ac6c6429c53f84d4732db314c6 (patch) | |
tree | 1b9fd5de8fd9ba4722456235cec4a196b461a083 | |
parent | 85bb5d7ed6957bc6b116be91e546d2369f7580b1 (diff) | |
download | tuna-427f94c4fa3694ac6c6429c53f84d4732db314c6.tar.gz |
cmdline: Fix --priority error message when no threads are informed
Reported-by: Guy Streeter <streeter@redhat.com>
RHBZ-Reference: https://bugzilla.redhat.com/show_bug.cgi?id=563352
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-x | tuna-cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tuna-cmd.py b/tuna-cmd.py index ce8c98a..b98ba82 100755 --- a/tuna-cmd.py +++ b/tuna-cmd.py @@ -472,7 +472,7 @@ def main(): tuna.include_cpus(cpu_list, get_nr_cpus()) elif o in ("-p", "--priority"): if not thread_list: - print "tuna: --what_is " + _("requires a thread list!") + print "tuna: --priority " + _("requires a thread list!") sys.exit(2) tuna.threads_set_priority(thread_list, a, affect_children) elif o in ("-P", "--show_threads"): |