[PATCH 09/11] mkfs.cramfs: vertically align the option descriptions of the usage text

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
And trim unneeded whitespace.

Signed-off-by: Benno Schulenberg <[email protected]>
---
 disk-utils/mkfs.cramfs.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c
index 74f51a280..c8130055d 100644
--- a/disk-utils/mkfs.cramfs.c
+++ b/disk-utils/mkfs.cramfs.c
@@ -134,20 +134,22 @@ static void __attribute__((__noreturn__)) usage(void)
 	fputsln(_("Make a compressed ROM file system."), stdout);
 
 	fputs(USAGE_SEPARATOR, stdout);
-	fputsln(_(  " dirname        root of the filesystem to be compressed"), stdout);
-	fputsln(_(  " outfile        output file"), stdout);
+	fputsln(_(" dirname        root of the filesystem to be compressed"), stdout);
+	fputsln(_(" outfile        output file"), stdout);
 
 	fputs(USAGE_OPTIONS, stdout);
-	fputsln(_(  " -v             be verbose"), stdout);
-	fputsln(_(  " -E             make all warnings errors (non-zero exit status)"), stdout);
-	fputsln(_(  " -b blksize     use this blocksize, must equal page size"), stdout);
-	fputsln(_(  " -e edition     set edition number (part of fsid)"), stdout);
-	fprintf(stdout, _(" -N endian      set cramfs endianness (%s|%s|%s), default %s\n"), "big", "little", "host", "host");
-	fputsln(_(  " -i file        insert a file image into the filesystem"), stdout);
-	fputsln(_(  " -n name        set name of cramfs filesystem"), stdout);
-	fprintf(stdout, _(" -p             pad by %d bytes for boot code\n"), PAD_SIZE);
-	fputsln(_(  " -z             make explicit holes"), stdout);
-	fputsln(_(  " -l[=<mode>]    use exclusive device lock (yes, no or nonblock)"), stdout);
+	fputsln(_(" -v             be verbose"), stdout);
+	fputsln(_(" -E             make all warnings errors (non-zero exit status)"), stdout);
+	fputsln(_(" -b blksize     use this blocksize, must equal page size"), stdout);
+	fputsln(_(" -e edition     set edition number (part of fsid)"), stdout);
+	fprintf(stdout,
+	        _(" -N endian      set cramfs endianness (%s|%s|%s), default %s\n"), "big", "little", "host", "host");
+	fputsln(_(" -i file        insert a file image into the filesystem"), stdout);
+	fputsln(_(" -n name        set name of cramfs filesystem"), stdout);
+	fprintf(stdout,
+	        _(" -p             pad by %d bytes for boot code\n"), PAD_SIZE);
+	fputsln(_(" -z             make explicit holes"), stdout);
+	fputsln(_(" -l[=<mode>]    use exclusive device lock (yes, no or nonblock)"), stdout);
 
 	fputs(USAGE_SEPARATOR, stdout);
 	fprintf(stdout, USAGE_HELP_OPTIONS(16));
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.