]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
rumprun-bake: improve usage
authorAntti Kantee <pooka@iki.fi>
Sun, 15 Nov 2015 14:07:15 +0000 (14:07 +0000)
committerAntti Kantee <pooka@iki.fi>
Sun, 15 Nov 2015 14:07:15 +0000 (14:07 +0000)
* add dumpconfig
* print synopsis and descriptions in the same order

app-tools/rumprun-bake.in

index b2a457b15f75fb79a8323174d70f1b6357f8e246..f99c21117345187eabd14dd0aa4835c54470250e 100644 (file)
@@ -209,14 +209,15 @@ _usage ()
        cat <<EOM
 rumprun-bake version: ${_RUMPBAKE_VERSION}
 
-usage: rumprun-bake [-c conffile] config output input [input ...]
-       rumprun-bake list
-       rumprun-bake dumpconfig config
+usage: rumprun-bake list
+       rumprun-bake dumpconfig config
+       rumprun-bake [-c conffile] config output input [input ...]
 
-When invoked with the single argument "list", describes available configs.
-When invoked with the single argument "list", describes available configs.
+"list" outputs available configs.
 
-Else, creates a rumprunnable unikernel:
+"dumpconfig" outputs details for the given config.
+
+Final usage creates a unikernel image:
        config  : rumprun board configuration to use.
        output  : output file name for the unikernel image.
        input   : executable(s) to bake.