mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Point wildcard error at a more specific help section
"Expansion" covers *all* the expansions, that's a bit of a handful. Directly point people towards globbing.
This commit is contained in:
@@ -224,7 +224,7 @@ enum class pipeline_position_t {
|
||||
#define ILLEGAL_FD_ERR_MSG _(L"Illegal file descriptor in redirection '%ls'")
|
||||
|
||||
/// Error message for wildcards with no matches.
|
||||
#define WILDCARD_ERR_MSG _(L"No matches for wildcard '%ls'. See `help expand`.")
|
||||
#define WILDCARD_ERR_MSG _(L"No matches for wildcard '%ls'. See `help wildcards-globbing`.")
|
||||
|
||||
/// Error message when an expansion produces too many results, e.g. `echo /**`.
|
||||
#define EXPAND_OVERFLOW_ERR_MSG _(L"Too many items produced by '%ls'.")
|
||||
|
||||
@@ -88,7 +88,7 @@ switch $smurf
|
||||
case "*"
|
||||
echo Test 2 fail
|
||||
end
|
||||
#CHECKERR: {{.*}}switch.fish (line {{\d+}}): No matches for wildcard '*ee*'. See `help expand`.
|
||||
#CHECKERR: {{.*}}switch.fish (line {{\d+}}): No matches for wildcard '*ee*'. See `help wildcards-globbing`.
|
||||
#CHECKERR: case *ee*
|
||||
#CHECKERR: ^
|
||||
#CHECK: Test 2 pass
|
||||
|
||||
Reference in New Issue
Block a user