diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 19:26:01 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 19:26:24 -0300 |
commit | bbdaf5a2a0caa5423460bd5d8d76651a4090f96c (patch) | |
tree | 779ae0cea5369986ae2da38c54681e6ba9d03b47 | |
parent | 427f94c4fa3694ac6c6429c53f84d4732db314c6 (diff) | |
download | tuna-bbdaf5a2a0caa5423460bd5d8d76651a4090f96c.tar.gz |
cmdline: Improve message about thread list being needed by -p/--priority
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 b98ba82..7d6aefa 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: --priority " + _("requires a thread list!") + print ("tuna: %s " % o) + _("requires a thread list!") sys.exit(2) tuna.threads_set_priority(thread_list, a, affect_children) elif o in ("-P", "--show_threads"): |