From 63a851cfd6f6be2ecfaf695495ed788b8115fb9d Mon Sep 17 00:00:00 2001 From: Beni Cherniavsky-Paskin Date: Thu, 2 Jun 2016 00:00:19 +0300 Subject: mention nullglob exceptions in failglob error msg --- src/parse_constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/parse_constants.h b/src/parse_constants.h index 01580d15..8381f2ae 100644 --- a/src/parse_constants.h +++ b/src/parse_constants.h @@ -209,7 +209,7 @@ void parse_error_offset_source_start(parse_error_list_t *errors, size_t amt); #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'.") +#define WILDCARD_ERR_MSG _(L"No matches for wildcard '%ls'. (Tip: empty matches are allowed in 'set', 'count', 'for'.)") /// Error when using break outside of loop. #define INVALID_BREAK_ERR_MSG _(L"'break' while not inside of loop") -- cgit v1.2.3