Files
sausage/userland/brush/source/brush-shell/tests/cases/compat/builtins/help.yaml
T
2026-11-11 22:04:16 +00:00

30 lines
643 B
YAML

name: "Builtins: help"
cases:
- name: "Help"
ignore_stdout: true
ignore_stderr: true
stdin: |
help
- name: "Topic-specific help"
ignore_stdout: true
ignore_stderr: true
stdin: |
help echo
- name: "Help for unknown topic returns non-zero"
ignore_stdout: true
ignore_stderr: true
stdin: |
help this-is-not-a-real-builtin
- name: "Help for known and unknown topics returns zero"
ignore_stdout: true
ignore_stderr: true
stdin: |
help echo this-is-not-a-real-builtin
- name: "help -s frames each synopsis on its own line"
stdin: |
help -s true false :