diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-21 20:51:19 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-21 20:51:19 -0500 |
commit | 0001803f0b9523c94fa2ede48eaecb047fef4524 (patch) | |
tree | f334332811e033ff966d94f6268f0629a94304b3 /builtins/help.def | |
parent | 89a92869e56aba4e4cab2d639c00a86f0545c862 (diff) | |
download | android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.gz android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.bz2 android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.zip |
Bash-4.1 distribution source
Diffstat (limited to 'builtins/help.def')
-rw-r--r-- | builtins/help.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtins/help.def b/builtins/help.def index 004abe2..f857af9 100644 --- a/builtins/help.def +++ b/builtins/help.def @@ -23,7 +23,7 @@ $PRODUCES help.c $BUILTIN help $FUNCTION help_builtin $DEPENDS_ON HELP_BUILTIN -$SHORT_DOC help [-ds] [pattern ...] +$SHORT_DOC help [-dms] [pattern ...] Display information about builtin commands. Displays brief summaries of builtin commands. If PATTERN is @@ -350,6 +350,8 @@ A star (*) next to a name means that the command is disabled.\n\ width /= 2; if (width > sizeof (blurb)) width = sizeof (blurb); + if (width <= 3) + width = 40; height = (num_shell_builtins + 1) / 2; /* number of rows */ for (i = 0; i < height; i++) |