about summary refs log tree commit diff
path: root/Src/Modules/zutil.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 09:32:32 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 09:32:32 +0000
commitc955b76cc54a8db00d7d9708dfa405685ab63675 (patch)
treef1e7a9503a0a74366eb324771ac25bcb076f5bb0 /Src/Modules/zutil.c
parentce90081ea88b97130f6c6758686711bc21c9ab3a (diff)
downloadzsh-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.c7
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;
 	}