[PATCH 2/4] textual: fix a mistruncated message, and fix a typo

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
The phrase "in human-readable form" was chosen rather than
"in human-readable format" because it's shorter and lets
the line fit *just* within 80 columns.

Reported-by: Petr Písař <[email protected]>
Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/lsipc.c   | 2 +-
 sys-utils/setpriv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c
index 7b041790b..d292ab96c 100644
--- a/sys-utils/lsipc.c
+++ b/sys-utils/lsipc.c
@@ -338,7 +338,7 @@ static void __attribute__((__noreturn__)) usage(void)
 	fputs(_("     --noheadings         don't print headings\n"), out);
 	fputs(_("     --notruncate         don't truncate output\n"), out);
 	fputs(_("     --time-format=<type> display dates in short, full or iso format\n"), out);
-	fputs(_(" -b, --bytes              print SIZE in bytes rather\n"), out);
+	fputs(_(" -b, --bytes              print SIZE in bytes rather than in human-readable form\n"), out);
 	fputs(_(" -c, --creator            show creator and owner\n"), out);
 	fputs(_(" -e, --export             display in an export-able output format\n"), out);
 	fputs(_(" -J, --json               use the JSON output format\n"), out);
diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c
index daa3ab366..433db6031 100644
--- a/sys-utils/setpriv.c
+++ b/sys-utils/setpriv.c
@@ -1025,7 +1025,7 @@ int main(int argc, char **argv)
 		case SECCOMP_FILTER:
 			if (opts.seccomp_filter)
 				errx(EXIT_FAILURE,
-				     _("duplicate --secccomp-filter option"));
+				     _("duplicate --seccomp-filter option"));
 			opts.seccomp_filter = optarg;
 			break;
 		case RESET_ENV:
-- 
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.