1.1 --- a/makesd-partition-table Sat May 25 17:48:54 2019 +0200
1.2 +++ b/makesd-partition-table Sat May 25 18:20:40 2019 +0200
1.3 @@ -182,11 +182,16 @@
1.4
1.5 if [ "$1" = '--help' ] ; then
1.6 cat 1>&2 <<EOF
1.7 -Usage: $PROGNAME [ --align ] ( -f <type> | -p <start> | -s <size> )...
1.8 +Usage: $PROGNAME [ --align ]
1.9
1.10 Produce partition descriptions, indicating partition type, start position and
1.11 -size for each partition. Each occurrence of the -f option starts a new partition
1.12 -description.
1.13 +size for each partition.
1.14 +
1.15 +The input for this program is supplied via standard input as a partitioning
1.16 +summary with each line providing a collection of tab-separated values. These
1.17 +values appear in the following order:
1.18 +
1.19 +<start> <size> <type>
1.20
1.21 Start positions are indicated as numbers of 512-byte sectors.
1.22
1.23 @@ -196,9 +201,7 @@
1.24 Types recognised include ext, ext2, ext3, ext4, fat and swap. Other types are
1.25 interpreted as Linux partitions.
1.26
1.27 -If the --align option is specified, align partitions to cylinders for the
1.28 -satisfaction of earlier sfdisk versions that are obsessed with cylinders, heads
1.29 -and sectors.
1.30 +$(align_cylinder_description)
1.31 EOF
1.32 exit 0
1.33 fi