From f713bf4b090214856eb3b0d1596dfa30271b3a2d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 3 Apr 2003 10:24:40 +0000 Subject: 18432: Minor miscellany of comments and rationalisations. --- Completion/Unix/Command/_perforce | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Completion/Unix/Command/_perforce') diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce index b14ab25fb..34db61478 100644 --- a/Completion/Unix/Command/_perforce +++ b/Completion/Unix/Command/_perforce @@ -187,6 +187,18 @@ # command are appended to the remaining words of the style before calling # the command. # +# Programmes taking p4-style arguments +# ==================================== +# +# It is possible to use the _perforce completion with other commands +# which behave like a subcommand of p4 by setting the service type +# to p4-. For example, +# compdef _perforce p4cvsmap=p4-files +# says that the command `p4cvsmap' takes arguments like `p4 files'. +# Often the options will be different; if this is a problem, you +# will need to write your own completer which loads _perforce and +# calls its functions directly. +# # TODO # ==== # -- cgit v1.2.3