1.1 --- a/makesd Sat May 25 17:48:54 2019 +0200
1.2 +++ b/makesd Sat May 25 18:20:40 2019 +0200
1.3 @@ -1,6 +1,6 @@
1.4 #!/bin/sh
1.5
1.6 -# Prepare a disk for booting a hardware device.
1.7 +# Prepare a disk for booting a specific hardware device.
1.8
1.9 PROGNAME=`basename "$0"`
1.10 THISDIR=`dirname "$0"`
1.11 @@ -15,6 +15,22 @@
1.12
1.13
1.14
1.15 +# Emit the help message if requested.
1.16 +
1.17 +if [ "$1" = '--help' ] ; then
1.18 + cat 1>&2 <<EOF
1.19 +Usage: $PROGNAME [ --align ] <definition name>
1.20 +
1.21 +Partition, format, populate and initialise a device for use with a particular
1.22 +kind of hardware. The given definition name is used to search the database of
1.23 +supported hardware devices and to configure the different preparation
1.24 +activities.
1.25 +
1.26 +$(align_cylinder_description)
1.27 +EOF
1.28 + exit 0
1.29 +fi
1.30 +
1.31 # Obtain details of the selected device.
1.32
1.33 check_device