about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-01-20 17:31:28 +0000
committerPeter Stephenson <pws@zsh.org>2015-01-20 17:31:28 +0000
commit0e3548994ee351a317c73c88e6c83e5e9e123f9d (patch)
treea7f2a2cd18358af04e0084ff3e7e1e43c9feebed /Src/builtin.c
parent638bfa93a009987e57bd7eaa8b2a1c1067a3652a (diff)
downloadzsh-0e3548994ee351a317c73c88e6c83e5e9e123f9d.tar.gz
zsh-0e3548994ee351a317c73c88e6c83e5e9e123f9d.tar.xz
zsh-0e3548994ee351a317c73c88e6c83e5e9e123f9d.zip
34329: add -S option to which and where
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 9258ddb6e..1818941b2 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -129,8 +129,8 @@ static struct builtin builtins[] =
     BUILTIN("unsetopt", 0, bin_setopt, 0, -1, BIN_UNSETOPT, NULL, NULL),
     BUILTIN("wait", 0, bin_fg, 0, -1, BIN_WAIT, NULL, NULL),
     BUILTIN("whence", 0, bin_whence, 0, -1, 0, "acmpvfsSw", NULL),
-    BUILTIN("where", 0, bin_whence, 0, -1, 0, "pmsw", "ca"),
-    BUILTIN("which", 0, bin_whence, 0, -1, 0, "ampsw", "c"),
+    BUILTIN("where", 0, bin_whence, 0, -1, 0, "pmsSw", "ca"),
+    BUILTIN("which", 0, bin_whence, 0, -1, 0, "ampsSw", "c"),
     BUILTIN("zmodload", 0, bin_zmodload, 0, -1, 0, "AFRILP:abcfdilmpue", NULL),
     BUILTIN("zcompile", 0, bin_zcompile, 0, -1, 0, "tUMRcmzka", NULL),
 };