summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-07-22 22:56:27 +0200
committerKarel Zak2014-07-23 08:56:00 +0200
commit09af3db48e01e5744f15fd8a2395e0fed36526ea (patch)
tree2366730c75e6c1b6ad662184107e948481344afd /login-utils/chsh.c
parentswapon: don't print errors as data in smartcols table (diff)
downloadkernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.tar.gz
kernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.tar.xz
kernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.zip
textual: fix some typos and inconsistencies in various messages
Fixing plain typos, miswordings, inconsistent periods, some missing angular brackets, and a proper pluralization (even when it involves a constant, because for some languages the precise value matters). Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r--login-utils/chsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c
index e14efe088..76c3d2115 100644
--- a/login-utils/chsh.c
+++ b/login-utils/chsh.c
@@ -69,7 +69,7 @@ static int get_shell_list(char *shell);
static void __attribute__((__noreturn__)) usage (FILE *fp)
{
fputs(USAGE_HEADER, fp);
- fprintf(fp, _(" %s [options] [username]\n"), program_invocation_short_name);
+ fprintf(fp, _(" %s [options] [<username>]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, fp);
fputs(_(" -s, --shell <shell> specify login shell\n"), fp);
fputs(_(" -l, --list-shells print list of shells and exit\n"), fp);
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
#ifndef HAVE_LIBUSER
if (!(is_local(pw->pw_name)))
- errx(EXIT_FAILURE, _("can only change local entries."));
+ errx(EXIT_FAILURE, _("can only change local entries"));
#endif
#ifdef HAVE_LIBSELINUX