On Wed, 2 Nov 2022, Leah Leshchinsky wrote:
Remove getopt import and fix help message for 'spread'
command.
Signed-off-by: Leah Leshchinsky <lleshchi(a)redhat.com>
diff --git a/tuna-cmd.py b/tuna-cmd.py
index 44d9faaf15fb..4ac01f4f4522 100755
--- a/tuna-cmd.py
+++ b/tuna-cmd.py
@@ -21,7 +21,6 @@ import os
import sys
import errno
import re
-import getopt
import fnmatch
import gettext
import locale
@@ -140,7 +139,7 @@ def gen_parser():
help="Allow all threads to run on
CPU-LIST")
move = subparser.add_parser('move', description="Move selected entities
to CPU-LIST",
help="Move selected entities to
CPU-LIST")
- spread = subparser.add_parser('spread', description="Move selected
entities to CPU-LIST",
+ spread = subparser.add_parser('spread', description="Spread selected
entities to CPU-LIST",
help="Spread selected entities over
CPU-LIST")
priority = subparser.add_parser('priority', description="Set thread
scheduler tunables: POLICY and RTPRIO",
help="Set thread scheduler tunables: POLICY and
RTPRIO")
--
Signed-off-by: John Kacur(a)redhat.com