Commit 7d540a26 by Michael Adam Committed by Stéphane Graber

lxc-download: improve help text.

--help and --list are special in the sense that they are independent of the other options and exit early. Document them separately. Signed-off-by: 's avatarMichael Adam <obnox@samba.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 308f4f39
...@@ -188,14 +188,16 @@ usage() { ...@@ -188,14 +188,16 @@ usage() {
cat <<EOF cat <<EOF
LXC container image downloader LXC container image downloader
Special arguments:
[ -h | --help ]: Print this help message and exit.
[ -l | --list ]: List all available images and exit.
Required arguments: Required arguments:
[ -d | --dist <distribution> ]: The name of the distribution [ -d | --dist <distribution> ]: The name of the distribution
[ -r | --release <release> ]: Release name/version [ -r | --release <release> ]: Release name/version
[ -a | --arch <architecture> ]: Architecture of the container [ -a | --arch <architecture> ]: Architecture of the container
Optional arguments: Optional arguments:
[ -h | --help ]: This help message
[ -l | --list ]: List all available images
[ --variant <variant> ]: Variant of the image (default: "default") [ --variant <variant> ]: Variant of the image (default: "default")
[ --server <server> ]: Image server (default: "images.linuxcontainers.org") [ --server <server> ]: Image server (default: "images.linuxcontainers.org")
[ --keyid <keyid> ]: GPG keyid (default: 0x...) [ --keyid <keyid> ]: GPG keyid (default: 0x...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment