1.1 --- a/makesd-format Sat May 25 17:48:54 2019 +0200
1.2 +++ b/makesd-format Sat May 25 18:20:40 2019 +0200
1.3 @@ -41,6 +41,24 @@
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
1.12 +
1.13 +The input for this program is supplied via standard input as a partitioning
1.14 +summary with each line providing a collection of tab-separated values. These
1.15 +values appear in the following order:
1.16 +
1.17 +<start> <size> <type>
1.18 +
1.19 +Only the type value is employed by this program. Types recognised include ext,
1.20 +ext2, ext3, ext4, fat and swap.
1.21 +EOF
1.22 + exit 0
1.23 +fi
1.24 +
1.25 # Obtain details of the selected device.
1.26
1.27 check_device