summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic
index 6c9a30da7d..4161f80367 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -234,6 +234,14 @@ def wic_list_subcommand(args, usage_str):
234 raise WicError("Bad list arguments, exiting") 234 raise WicError("Bad list arguments, exiting")
235 235
236 236
237def wic_ls_subcommand(args, usage_str):
238 """
239 Command-line handling for list content of images.
240 The real work is done by engine.wic_ls()
241 """
242 engine.wic_ls(args, args.native_sysroot)
243
244
237def wic_help_subcommand(args, usage_str): 245def wic_help_subcommand(args, usage_str):
238 """ 246 """
239 Command-line handling for help subcommand to keep the current 247 Command-line handling for help subcommand to keep the current
@@ -266,6 +274,9 @@ helptopics = {
266 "create": [wic_help_topic_subcommand, 274 "create": [wic_help_topic_subcommand,
267 wic_help_topic_usage, 275 wic_help_topic_usage,
268 hlp.wic_create_help], 276 hlp.wic_create_help],
277 "ls": [wic_help_topic_subcommand,
278 wic_help_topic_usage,
279 hlp.wic_ls_help],
269 "list": [wic_help_topic_subcommand, 280 "list": [wic_help_topic_subcommand,
270 wic_help_topic_usage, 281 wic_help_topic_usage,
271 hlp.wic_list_help] 282 hlp.wic_list_help]
@@ -359,6 +370,10 @@ subcommands = {
359 hlp.wic_list_usage, 370 hlp.wic_list_usage,
360 hlp.wic_list_help, 371 hlp.wic_list_help,
361 wic_init_parser_list], 372 wic_init_parser_list],
373 "ls": [wic_ls_subcommand,
374 hlp.wic_ls_usage,
375 hlp.wic_ls_help,
376 wic_init_parser_ls],
362 "help": [wic_help_subcommand, 377 "help": [wic_help_subcommand,
363 wic_help_topic_usage, 378 wic_help_topic_usage,
364 hlp.wic_help_help, 379 hlp.wic_help_help,