diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-22 09:32:32 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-22 09:32:32 +0000 |
commit | c955b76cc54a8db00d7d9708dfa405685ab63675 (patch) | |
tree | f1e7a9503a0a74366eb324771ac25bcb076f5bb0 /Src/Modules/zutil.c | |
parent | ce90081ea88b97130f6c6758686711bc21c9ab3a (diff) | |
download | zsh-c955b76cc54a8db00d7d9708dfa405685ab63675.tar.gz zsh-c955b76cc54a8db00d7d9708dfa405685ab63675.tar.xz zsh-c955b76cc54a8db00d7d9708dfa405685ab63675.zip |
remove -h option from zstyle (11490)
Diffstat (limited to 'Src/Modules/zutil.c')
-rw-r--r-- | Src/Modules/zutil.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c index 5524a20e5..5aab02030 100644 --- a/Src/Modules/zutil.c +++ b/Src/Modules/zutil.c @@ -279,7 +279,6 @@ bin_zstyle(char *nam, char **args, char *ops, int func) case 's': min = 3; max = 4; break; case 'b': min = 3; max = 3; break; case 'a': min = 3; max = 3; break; - case 'h': min = 3; max = 3; break; case 't': min = 2; max = -1; break; case 'T': min = 2; max = -1; break; case 'm': min = 3; max = 3; break; @@ -384,7 +383,6 @@ bin_zstyle(char *nam, char **args, char *ops, int func) } break; case 'a': - case 'h': { Stypat s; char **ret; @@ -399,10 +397,7 @@ bin_zstyle(char *nam, char **args, char *ops, int func) ret = zarrdup(&dummy); val = 1; } - if (args[0][1] == 'a') - setaparam(args[3], ret); - else - sethparam(args[3], ret); + setaparam(args[3], ret); return val; } |