Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _prcs error-message fix



I'm afraid there is still mistakes in this function...
This fix an error message and add a second.

Index: Completion/User/_prcs
--- Completion/User/_prcs Fri, 11 Feb 2000 21:43:30 +0100 Alexandre
+++ Completion/User/_prcs Fri, 25 Feb 2000 18:02:43 +0100 Alexandre
@@ -84,6 +84,9 @@
 	  '-i[expand the entire project immediately]' \
           ':project name:_prcs_projects'
         ;;
+      *)
+	_message "unknown prcs administrative subfunction: $words[1]"
+	;;
       esac
     fi
     ;;
@@ -197,7 +200,7 @@
       ':project name:_prcs_projects'
     ;;
   *)
-    _message "unknown prcs command: $words[2]"
+    _message "unknown prcs command: $words[1]"
   ;;
   esac
 fi

-- 
Alexandre Duret-Lutz



Messages sorted by: Reverse Date, Date, Thread, Author