about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_man2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b382826dc..4717bfee7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-05-29  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* Keerthan Jai: users/18860: Completion/Unix/Command/_man: man
+	-M overrides manpath.
+
 	* unposted: Src/params.c: use DIGBUFSIZE for pipestatus numeric
 	buffer.
 
diff --git a/Completion/Unix/Command/_man b/Completion/Unix/Command/_man
index d1346f7cc..81ac40bc2 100644
--- a/Completion/Unix/Command/_man
+++ b/Completion/Unix/Command/_man
@@ -29,7 +29,7 @@ _man() {
   if (( index )); then
     local opt
     opt=$words[index+1]
-    _manpath=($_manpath $opt)
+    _manpath=($opt)
   fi
 
   # `sman' is the SGML manual directory for Solaris 7.