Back out "Support help argument in "{ -h""

This backs out commit efce176ceb.
This commit is contained in:
Johannes Altmanninger
2025-01-19 18:51:06 +01:00
parent d3c37de753
commit 8208a12a76
11 changed files with 25 additions and 180 deletions

View File

@@ -187,26 +187,10 @@ PATH= "{"
# CHECKERR: PATH= "{"
# CHECKERR: ^~^
$fish -c '{ -h'
# CHECKERR: fish: '{': missing man page
# CHECKERR: Documentation may not be installed.
# CHECKERR: `help '{'` will show an online version
PATH= "{" -h
# CHECKERR: fish: Unknown command: '{'
# CHECKERR: {{.*}}/braces.fish (line {{\d+}}):
# CHECKERR: PATH= "{" -h
# CHECKERR: ^~^
$fish -c 'builtin {'
# CHECKERR: fish: Expected end of the statement, but found a '{'
# CHECKERR: builtin {
# CHECKERR: ^
$fish -c 'builtin "{"'
# CHECKERR: fish: Unknown builtin '"{"'
# CHECKERR: builtin "{"
# CHECKERR: ^~~~~~~~~~^
# CHECKERR: ^
$fish -c 'command {'
# CHECKERR: fish: Expected end of the statement, but found a '{'

View File

@@ -482,9 +482,6 @@ level 2 } }
# CHECK: {{^ level 2$}}
# CHECK: {{^ \}$}}
# CHECK: {{^\}$}}
echo '{ -h'
# CHECK: { -h
} | $fish_indent
echo 'multiline-\\