]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sys-utils/setpgid: fix --help typo (foregound > foreground) + alignment
authorEmanuele Torre <torreemanuele6@gmail.com>
Wed, 26 Jun 2024 07:43:43 +0000 (09:43 +0200)
committerEmanuele Torre <torreemanuele6@gmail.com>
Wed, 26 Jun 2024 07:49:42 +0000 (09:49 +0200)
Typo reported by @yurchor on github
https://github.com/util-linux/util-linux/commit/f092076fecc7ada2911df1b34f75091573ac08a8#r139271937

sys-utils/setpgid.c

index 647654a0779fd5f6adfff8bf4fab642be5fda384..4bcaefad2ed378bb72fcd904207dad7b80e54bb1 100644 (file)
@@ -24,9 +24,9 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Run a program in a new process group.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -f, --foregound     Make a foreground process group\n"), out);
+       fputs(_(" -f, --foreground    Make a foreground process group\n"), out);
 
-       fprintf(out, USAGE_HELP_OPTIONS(16));
+       fprintf(out, USAGE_HELP_OPTIONS(21));
 
        fprintf(out, USAGE_MAN_TAIL("setpgid(1)"));
        exit(EXIT_SUCCESS);