summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r--scripts/lib/wic/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index daa11bf489..1bd411deeb 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -31,7 +31,7 @@ import logging
31from wic.plugin import pluginmgr, PLUGIN_TYPES 31from wic.plugin import pluginmgr, PLUGIN_TYPES
32 32
33def subcommand_error(args): 33def subcommand_error(args):
34 logging.info("invalid subcommand %s" % args[0]) 34 logging.info("invalid subcommand %s", args[0])
35 35
36 36
37def display_help(subcommand, subcommands): 37def display_help(subcommand, subcommands):
@@ -87,7 +87,7 @@ def invoke_subcommand(args, parser, main_command_usage, subcommands):
87 elif args[0] == "help": 87 elif args[0] == "help":
88 wic_help(args, main_command_usage, subcommands) 88 wic_help(args, main_command_usage, subcommands)
89 elif args[0] not in subcommands: 89 elif args[0] not in subcommands:
90 logging.error("Unsupported subcommand %s, exiting\n" % (args[0])) 90 logging.error("Unsupported subcommand %s, exiting\n", args[0])
91 parser.print_help() 91 parser.print_help()
92 return 1 92 return 1
93 else: 93 else: