diff options
author | Sebastian Schmidt <yath@yath.de> | 2012-04-17 11:23:35 +0200 |
---|---|---|
committer | Sebastian Schmidt <yath@yath.de> | 2012-04-17 11:24:20 +0200 |
commit | f4b417c62a4f272c4cf9a074d0f7a3a97201f9db (patch) | |
tree | e2196f3b6361e2377c43ab47a3abf17d8f6afd77 /builtins/help.def | |
parent | 791237e44695d2ee123c8a6f665ef074f5fadfbb (diff) | |
download | external_bash-f4b417c62a4f272c4cf9a074d0f7a3a97201f9db.zip external_bash-f4b417c62a4f272c4cf9a074d0f7a3a97201f9db.tar.gz external_bash-f4b417c62a4f272c4cf9a074d0f7a3a97201f9db.tar.bz2 |
Update to upstream bash 4.2
This upgrades bash to from 4.1-rc to 4.2-release. See CWRU/changelog for
changes.
Change-Id: I926269c300cf44fa25964b5b375a148fcf11c4b7
Diffstat (limited to 'builtins/help.def')
-rw-r--r-- | builtins/help.def | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtins/help.def b/builtins/help.def index f857af9..8fb0e2b 100644 --- a/builtins/help.def +++ b/builtins/help.def @@ -155,7 +155,7 @@ help_builtin (list) continue; } - printf ("%s: %s\n", name, shell_builtins[i].short_doc); + printf ("%s: %s\n", name, _(shell_builtins[i].short_doc)); if (sflag == 0) show_longdoc (i); @@ -288,7 +288,7 @@ show_manpage (name, i) /* SYNOPSIS */ printf ("SYNOPSIS\n"); - printf ("%*s%s\n\n", BASE_INDENT, " ", shell_builtins[i].short_doc); + printf ("%*s%s\n\n", BASE_INDENT, " ", _(shell_builtins[i].short_doc)); /* DESCRIPTION */ printf ("DESCRIPTION\n"); @@ -360,7 +360,7 @@ A star (*) next to a name means that the command is disabled.\n\ /* first column */ blurb[0] = (shell_builtins[i].flags & BUILTIN_ENABLED) ? ' ' : '*'; - strncpy (blurb + 1, shell_builtins[i].short_doc, width - 2); + strncpy (blurb + 1, _(shell_builtins[i].short_doc), width - 2); blurb[width - 2] = '>'; /* indicate truncation */ blurb[width - 1] = '\0'; printf ("%s", blurb); @@ -376,7 +376,7 @@ A star (*) next to a name means that the command is disabled.\n\ /* second column */ blurb[0] = (shell_builtins[i+height].flags & BUILTIN_ENABLED) ? ' ' : '*'; - strncpy (blurb + 1, shell_builtins[i+height].short_doc, width - 3); + strncpy (blurb + 1, _(shell_builtins[i+height].short_doc), width - 3); blurb[width - 3] = '>'; /* indicate truncation */ blurb[width - 2] = '\0'; printf ("%s\n", blurb); |