Fix section names in suggested "help" commands

Fixes 2cd60077e6 (help: get section titles from Sphinx, 2025-11-05)
Fixes #12082
This commit is contained in:
Johannes Altmanninger
2025-11-20 06:28:59 +01:00
parent a1baf97f54
commit 4ffa06fb7e
28 changed files with 193 additions and 150 deletions

View File

@@ -24,11 +24,11 @@ echo >&2 bind output evaluation works
# Verify that an invalid bind mode is rejected.
bind -m 'bad bind mode' \cX true
# CHECKERR: bind: bad bind mode: invalid mode name. See `help identifiers`
# CHECKERR: bind: bad bind mode: invalid mode name. See `help language#shell-variable-and-function-names`
# Verify that an invalid bind mode target is rejected.
bind -M bind-mode \cX true
# CHECKERR: bind: bind-mode: invalid mode name. See `help identifiers`
# CHECKERR: bind: bind-mode: invalid mode name. See `help language#shell-variable-and-function-names`
# This should succeed and result in a success, zero, status.
bind -M bind_mode \cX true