From 65f928d983e68e817f7eebbcb3878e426907cd3a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 29 Jul 2005 19:35:02 +0000 Subject: Fixed file completion after the --include-from and --exclude-from options. --- 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 9df7fd04a..4c1711781 100644 --- a/Completion/Unix/Command/_rsync +++ b/Completion/Unix/Command/_rsync @@ -147,10 +147,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]' \ -- cgit 1.4.1