From d6e066a57395b6def7b6c05b92ace7efd1808c57 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 29 Jul 2005 19:18:01 +0000 Subject: [PATCH] Reorder the --include/--include-from --exclude/--exclude-from lines so that the completion system will properly complete files after the ...-from options (the completion system is buggy if the shorter option is first and ends with an '='). --- Completion/Unix/Command/_rsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync index ae97c5bcf..dd1160069 100644 --- a/Completion/Unix/Command/_rsync +++ b/Completion/Unix/Command/_rsync @@ -166,10 +166,10 @@ _arguments -s \ '(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \ '*'{-f,--filter=}'[add a file-filtering rule]:rule:' \ '*-F[same as --filter="dir-merge /.rsync-filter", repeated: --filter="- .rsync-filter"]' \ - '*--exclude=[exclude files matching pattern]:pattern:' \ '--exclude-from=[read exclude patterns from specified file]:file:_files' \ - '*--include=[do not exclude files matching pattern]:pattern:' \ + '*--exclude=[exclude files matching pattern]:pattern:' \ '--include-from=[read include patterns from specified file]:file:_files' \ + '*--include=[do not exclude files matching pattern]:pattern:' \ '--files-from=[read list of source-file names from specified file]:file:_files' \ '(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \ '--version[print version number]' \