1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00

unposted: functions -c: Fix typo

This commit is contained in:
Daniel Shahaf 2019-10-10 03:44:56 +00:00
parent 243e46998e
commit 72c6dbe1be
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2019-10-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/builtin.c: functions -c: Fix typo
2019-10-02 Daniel Shahaf <d.s@daniel.shahaf.name> 2019-10-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* 44797: Completion/Unix/Command/_git: _git-config: Complete * 44797: Completion/Unix/Command/_git: _git-config: Complete

View file

@ -3263,7 +3263,7 @@ bin_functions(char *name, char **argv, Options ops, int func)
} }
shf = (Shfunc) shfunctab->getnode(shfunctab, *argv); shf = (Shfunc) shfunctab->getnode(shfunctab, *argv);
if (!shf) { if (!shf) {
zwarnnam(name, "no such funciton: %s", *argv); zwarnnam(name, "no such function: %s", *argv);
return 1; return 1;
} }
if (shf->node.flags & PM_UNDEFINED) { if (shf->node.flags & PM_UNDEFINED) {