diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
| commit | 2ae59c1134a75d5778997b7202b15b0586283042 (patch) | |
| tree | 6a0fa496d41b222f5f69e3640d84932fb7a84778 /shell.c | |
| parent | 2f5dfe5a18b4670eb4cea32c1c76295eb70a8865 (diff) | |
| download | bash-5.0-beta2.tar.gz | |
bash-5.0-beta2 releasebash-5.0-beta2
Diffstat (limited to 'shell.c')
| -rw-r--r-- | shell.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1989,7 +1989,11 @@ show_shell_usage (fp, extra) for (i = 0, set_opts = 0; shell_builtins[i].name; i++) if (STREQ (shell_builtins[i].name, "set")) - set_opts = savestring (shell_builtins[i].short_doc); + { + set_opts = savestring (shell_builtins[i].short_doc); + break; + } + if (set_opts) { s = strchr (set_opts, '['); |
