diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-05 13:10:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-05 13:10:16 +0000 |
commit | 1f731313ece70171c4b5f2bed00898a4519abc3d (patch) | |
tree | 68b6db62de56796ce306ef84d8dc8e3525deb754 | |
parent | 0832ceae0ab89cd218a7e8b4f29102b1496c3840 (diff) | |
download | alpine-conf-1f731313ece70171c4b5f2bed00898a4519abc3d.tar.bz2 alpine-conf-1f731313ece70171c4b5f2bed00898a4519abc3d.tar.xz |
setup-disk: improve the usage help text
Thanks to Jim Pryor for the very useful feedback.
-rw-r--r-- | setup-disk.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/setup-disk.in b/setup-disk.in index 1e97d05..0afcfff 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -825,7 +825,7 @@ ask_disk() { usage() { cat <<__EOF__ -usage: setup-disk [-hqr] [-k kernelflavor] [-m MODE] [-o apkovl] [-s SWAPSIZE] +usage: setup-disk [-hLqrv] [-k kernelflavor] [-m MODE] [-o apkovl] [-s SWAPSIZE] [MOUNTPOINT | DISKDEV...] Install alpine on harddisk. @@ -839,14 +839,15 @@ mode than 2 disks, then use raid level 5 instead of raid level 1. options: -h Show this help - -m Use disk for MODE without asking, where MODE is either 'data' or 'root' + -m Use disk for MODE without asking, where MODE is either 'data' or 'sys' -o Restore system from given apkovl file -k Use kernelflavor instead of $KERNEL_FLAVOR -L Use LVM to manage partitions -q Exit quietly if no disks are found -r Enable software raid1 with single disk - -s Use SWAPSIZE MB instead of $SWAP_SIZE MB for swap (Use 0 to disable swap) + -s Use SWAPSIZE MB instead of autodetecting swap size (Use 0 to disable swap) -v Be more verbose about what is happening + __EOF__ exit 1 } |