about summary refs log tree commit diff
path: root/Completion/User/_prcs
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-27 20:06:56 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-27 20:06:56 +0000
commitb4d7e17de61045df9b7f17486ba7db6d8c1bd311 (patch)
tree2792d5ca0959d8ab15fa6c9b0c4ba53c4afbe39e /Completion/User/_prcs
parent62f76ff5e927e79d764dc0b77ef69917d18ed8cd (diff)
downloadzsh-b4d7e17de61045df9b7f17486ba7db6d8c1bd311.tar.gz
zsh-b4d7e17de61045df9b7f17486ba7db6d8c1bd311.tar.xz
zsh-b4d7e17de61045df9b7f17486ba7db6d8c1bd311.zip
zsh-workers/9436
Diffstat (limited to 'Completion/User/_prcs')
-rw-r--r--Completion/User/_prcs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/User/_prcs b/Completion/User/_prcs
index 71fefc3e9..56a97cdd1 100644
--- a/Completion/User/_prcs
+++ b/Completion/User/_prcs
@@ -65,6 +65,7 @@ else
 	  compress\:"instruct PRCS to save disk space for project"
 	  init\:"create a repository entry"
 	  pdelete\:"delete a repository entry"
+	  pinfo\:"list all projects in the repository"
 	  prename\:"rename a repository entry"
 	  rebuild\:"reconstruct PRCS data files in the repository"
 	  uncompress\:"instruct PRCS to save time in processing project"))'
@@ -75,6 +76,9 @@ else
       access|compress|init|pdelete|prename|rebuild)
         _prcs_arguments ':project name:_prcs_projects'
         ;;
+      pinfo)
+	_prcs_arguments
+	;;
       uncompress)
         _prcs_arguments \
 	  '-i[expand the entire project immediately]' \
@@ -120,11 +124,6 @@ else
       '*:file or directory:_files'
     ;;
   diff)
-#
-# FIXME: when there will be a _diff completion function,
-#        we should complete with diff options after `--' :
-# prcs diff [OPTION ...] [PROJECT [FILE-OR-DIR ...]] [-- [DIFF-OPTION ...]]
-#
     _prcs_arguments \
       '*--revison=[version of the project]:revision:' \
       '*-r[version of the project]:revision:' \
@@ -134,6 +133,7 @@ else
       '(--new)-N[compare new files against empty files]' \
       "(-P)--exclude-project-file[don't diff the project file]" \
       "(--exclude-project-file)-P[don't diff the project file]" \
+      '--[introduce diff options]:*:diff options: _diff_options' \
       ':project name:_prcs_projects' \
       '*:file or directory:_files'
     ;;