diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/zselect.c | 2 | ||||
-rw-r--r-- | Src/zsh.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c index 25954559b..91c4ee78f 100644 --- a/Src/Modules/zselect.c +++ b/Src/Modules/zselect.c @@ -233,7 +233,7 @@ bin_zselect(char *nam, char **args, Options ops, int func) zaddlinknode(fdlist, ztrdup(buf)); } } else { - /* List of fd's preceeded by -r, -w, -e. */ + /* List of fd's preceded by -r, -w, -e. */ if (!doneit) { buf[0] = '-'; buf[1] = fdchar[i]; diff --git a/Src/zsh.h b/Src/zsh.h index aa2c11fe3..bcde57bb4 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -939,7 +939,7 @@ struct funcwrap { * Handling of options. * * Option strings are standard in that a trailing `:' indicates - * a mandatory argument. In addtion, `::' indicates an optional + * a mandatory argument. In addition, `::' indicates an optional * argument which must immediately follow the option letter if it is present. * `:%' indicates an optional numeric argument which may follow * the option letter or be in the next word; the only test is @@ -1014,7 +1014,7 @@ struct builtin { #define BINF_SKIPINVALID (1<<12) /* Treat invalid option as argument */ #define BINF_KEEPNUM (1<<13) /* `[-+]NUM' can be an option */ #define BINF_SKIPDASH (1<<14) /* Treat `-' as argument (maybe `+') */ -#define BINF_DASHDASHVALID (1<<15) /* Handle `--' evenf if SKIPINVALD */ +#define BINF_DASHDASHVALID (1<<15) /* Handle `--' even if SKIPINVALD */ struct module { char *nam; |