diff --git a/src/parse_constants.h b/src/parse_constants.h index 5d5eb9502..77d7c3d4e 100644 --- a/src/parse_constants.h +++ b/src/parse_constants.h @@ -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'.") diff --git a/tests/checks/switch.fish b/tests/checks/switch.fish index e8576fc02..53bbf222c 100644 --- a/tests/checks/switch.fish +++ b/tests/checks/switch.fish @@ -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