summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenno Schulenberg2013-05-29 19:46:23 +0200
committerKarel Zak2013-06-07 11:31:33 +0200
commit63578526a17a757396a7acc783c2b2ae035caea3 (patch)
tree33b5933aaa884270a0a091577bc4268716c81b29
parentrunuser: update man page, add note about -l vs. -p (diff)
downloadkernel-qcow2-util-linux-63578526a17a757396a7acc783c2b2ae035caea3.tar.gz
kernel-qcow2-util-linux-63578526a17a757396a7acc783c2b2ae035caea3.tar.xz
kernel-qcow2-util-linux-63578526a17a757396a7acc783c2b2ae035caea3.zip
textual: standardize synopsis for login, and improve an error message
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
-rw-r--r--login-utils/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/login.c b/login-utils/login.c
index 554c46d4c..c3d07bd45 100644
--- a/login-utils/login.c
+++ b/login-utils/login.c
@@ -1277,7 +1277,7 @@ int main(int argc, char **argv)
case 'h':
if (getuid()) {
fprintf(stderr,
- _("login: -h for super-user only.\n"));
+ _("login: -h is for superuser only\n"));
exit(EXIT_FAILURE);
}
init_remote_info(&cxt, optarg);
@@ -1292,7 +1292,7 @@ int main(int argc, char **argv)
return EXIT_SUCCESS;
case '?':
default:
- fprintf(stderr, _("usage: login [ -p ] [ -h host ] [ -H ] [ -f username | username ]\n"));
+ fprintf(stderr, _("Usage: login [-p] [-h <host>] [-H] [[-f] <username>]\n"));
exit(EXIT_FAILURE);
}
argc -= optind;