unposted (see 32892): 'fc -I' is an error

This commit is contained in:
Barton E. Schaefer 2014-07-24 08:33:13 -07:00
parent f6429189a8
commit 77119afe19
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2014-07-24 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see 32892): Src/builtins.c: 'fc -I' is an error
* 32903: Src/Modules/parameter.c: new empty (unset) elements in
the special parameter hash tables are special themselves, so that
adding elements via assignment syntax handles them correctly.

View file

@ -1422,6 +1422,10 @@ bin_fc(char *nam, char **argv, Options ops, int func)
unqueue_signals();
return 0;
}
if (OPT_ISSET(ops,'I')) {
zwarnnam(nam, "-I requires one of -R/-W/-A");
return 1;
}
if (zleactive) {
zwarnnam(nam, "no interactive history within ZLE");