]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-download: improve help text.
authorMichael Adam <obnox@samba.org>
Thu, 15 Jan 2015 23:15:50 +0000 (00:15 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 16 Jan 2015 00:09:14 +0000 (19:09 -0500)
--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: Michael Adam <obnox@samba.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-download.in

index 2d6b1cb60d2157aee06d7d46b0363164d120cf93..722f95f7d12353c15e8a8f51134dbf073365955c 100644 (file)
@@ -188,14 +188,16 @@ usage() {
     cat <<EOF
 LXC container image downloader
 
+Special arguments:
+[ -h | --help ]: Print this help message and exit.
+[ -l | --list ]: List all available images and exit.
+
 Required arguments:
 [ -d | --dist <distribution> ]: The name of the distribution
 [ -r | --release <release> ]: Release name/version
 [ -a | --arch <architecture> ]: Architecture of the container
 
 Optional arguments:
-[ -h | --help ]: This help message
-[ -l | --list ]: List all available images
 [ --variant <variant> ]: Variant of the image (default: "default")
 [ --server <server> ]: Image server (default: "images.linuxcontainers.org")
 [ --keyid <keyid> ]: GPG keyid (default: 0x...)