mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Back out "Support help argument in "{ -h""
This backs out commit efce176ceb.
This commit is contained in:
@@ -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 '{'
|
||||
|
||||
@@ -482,9 +482,6 @@ level 2 } }
|
||||
# CHECK: {{^ level 2$}}
|
||||
# CHECK: {{^ \}$}}
|
||||
# CHECK: {{^\}$}}
|
||||
|
||||
echo '{ -h'
|
||||
# CHECK: { -h
|
||||
} | $fish_indent
|
||||
|
||||
echo 'multiline-\\
|
||||
|
||||
Reference in New Issue
Block a user