mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
clarify "…variable is shadowed by the global variable of the same name"
Rephrase this to more explicitly indicate that the uvar actually was successfully set. I believe the prior phrasing can leave some ambiguity as far as wether set just failed with an error, whether it has done anything or not.
This commit is contained in:
parent
aacc71e585
commit
2b2f772790
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ static const struct woption long_options[] = {{L"export", no_argument, nullptr,
|
|||
#define BUILTIN_SET_MISMATCHED_ARGS _(L"%ls: given %d indexes but %d values\n")
|
||||
#define BUILTIN_SET_ARRAY_BOUNDS_ERR _(L"%ls: array index out of bounds\n")
|
||||
#define BUILTIN_SET_UVAR_ERR \
|
||||
_(L"%ls: Universal variable '%ls' is shadowed by the global variable of the same name.\n")
|
||||
_(L"%ls: successfully set universal '%ls'; but a global by that name shadows it\n")
|
||||
|
||||
static int parse_cmd_opts(set_cmd_opts_t &opts, int *optind, //!OCLINT(high ncss method)
|
||||
int argc, const wchar_t **argv, parser_t &parser, io_streams_t &streams) {
|
||||
|
|
Loading…
Reference in a new issue