From: Benno Schulenberg <bensberg@telfort.nl>
To: util-linux@vger.kernel.org
Subject: [PATCH 09/11] mkfs.cramfs: vertically align the option descriptions of the usage text
Date: Tue, 25 Mar 2025 11:43:03 +0100 [thread overview]
Message-ID: <20250325104305.23980-9-bensberg@telfort.nl> (raw)
In-Reply-To: <20250325104305.23980-1-bensberg@telfort.nl>
And trim unneeded whitespace.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
---
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
next prev parent reply other threads:[~2025-03-25 10:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 10:42 [PATCH 01/11] ipcrm: move a constant argument in order to gettextize the message Benno Schulenberg
2025-03-25 10:42 ` [PATCH 02/11] ipcrm: in usage text, use two lines when option+arguments is very long Benno Schulenberg
2025-03-25 10:42 ` [PATCH 03/11] ipcutils, lsipc: unabbreviate two words in some error messages Benno Schulenberg
2025-03-25 10:42 ` [PATCH 04/11] chmem: print warnings about failures always (not only with --verbose) Benno Schulenberg
2025-03-25 10:42 ` [PATCH 05/11] chmem: (man) add missing end-of-bold marker, and add missing OR bar Benno Schulenberg
2025-03-25 10:43 ` [PATCH 06/11] fstrim: mark only the mountpoint as placeholder, not options -A and -a Benno Schulenberg
2025-03-25 10:43 ` [PATCH 07/11] swapon: improve a translator hint, and remove a pointless one Benno Schulenberg
2025-03-25 10:43 ` [PATCH 08/11] mkfs.cramfs: reduce the synopsis to the standard, succinct form Benno Schulenberg
2025-03-25 10:43 ` Benno Schulenberg [this message]
2025-03-25 10:43 ` [PATCH 10/11] mkfs.cramfs: (man) mark arguments of -N and -l in bold, not italics Benno Schulenberg
2025-03-25 10:43 ` [PATCH 11/11] ipcs: align the first group of options with later ones in the usage text Benno Schulenberg
2025-03-27 9:54 ` [PATCH 01/11] ipcrm: move a constant argument in order to gettextize the message Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250325104305.23980-9-bensberg@telfort.nl \
--to=bensberg@telfort.nl \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox