[oe-commits] Ed Bartosh : wic: improved usage text

git at git.openembedded.org git at git.openembedded.org
Fri Aug 7 03:50:34 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 1c607f48d47bb2e676151d2df2c388e3ffadef4b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1c607f48d47bb2e676151d2df2c388e3ffadef4b

Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date:   Mon Aug  3 16:51:46 2015 +0300

wic: improved usage text

Made command line specification less confusing.
Reformatted usage output.

[YOCTO #7938]

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/image/help.py | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 0666d80..a14ef20 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -101,19 +101,17 @@ wic_usage = """
 
  Create a customized OpenEmbedded image
 
- usage: wic [--version] [--help] COMMAND [ARGS]
+ usage: wic [--version] | [--help] | [COMMAND [ARGS]]
 
  Current 'wic' commands are:
+    help              Show help for command or one of the topics (see below)
     create            Create a new OpenEmbedded image
     list              List available values for options and image properties
 
  Help topics:
-    overview           wic overview - General overview of wic
-    plugins            wic plugins - Overview and API
-    kickstart          wic kickstart - wic kickstart reference
-
- See 'wic help <COMMAND or HELP TOPIC>' for more information on a specific
- command or help topic.
+    overview          wic overview - General overview of wic
+    plugins           wic plugins - Overview and API
+    kickstart         wic kickstart - wic kickstart reference
 """
 
 wic_help_usage = """



More information about the Openembedded-commits mailing list