1.1 --- a/makesd-partition Sat May 25 17:48:54 2019 +0200
1.2 +++ b/makesd-partition Sat May 25 18:20:40 2019 +0200
1.3 @@ -32,6 +32,22 @@
1.4
1.5
1.6
1.7 +# Emit the help message if requested.
1.8 +
1.9 +if [ "$1" = '--help' ] ; then
1.10 + cat 1>&2 <<EOF
1.11 +Usage: $PROGNAME [ --align ]
1.12 +
1.13 +Partition a device according to a partitioning summary supplied via standard
1.14 +input. This summary is passed on to the partition table generator:
1.15 +
1.16 +$PARTTABLE
1.17 +
1.18 +$(align_cylinder_description)
1.19 +EOF
1.20 + exit 0
1.21 +fi
1.22 +
1.23 # Obtain details of the selected device.
1.24
1.25 check_device