From 8520b72484d6e853bbc7446aa026404c42df028c Mon Sep 17 00:00:00 2001 From: Aaron Schrab Date: Sun, 26 Aug 2012 02:26:02 -0400 Subject: [PATCH] Fix excluding options When one option should exclude several others the ones to be excluded are separated by a space, not a pipe character. --- src/_rvm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_rvm b/src/_rvm index f0413a6..b7690ee 100644 --- a/src/_rvm +++ b/src/_rvm @@ -22,7 +22,7 @@ ret=1 _arguments -C \ '(- 1 *)'{-v,--version}'[display version information]' \ - '(-l|--level)'{-l,--level}'+[patch level to use with rvm use / install]:number' \ + '(-l --level)'{-l,--level}'+[patch level to use with rvm use / install]:number' \ '--bin[path for binaries to be placed (~/.rvm/bin/)]:path:_files' \ '--source[src directory to use (~/.rvm/src/)]:path:_files' \ '--archives[directory for downladed files (~/.rvm/archives/)]:path:_files' \ @@ -32,7 +32,7 @@ _arguments -C \ '--gems[Used to set the gems_flag, use with remove to remove gems]' \ '--archive[Used to set the archive_flag, use with remove to remove archive]' \ '--patch[With MRI Rubies you may specify one or more full paths to patches]' \ - '(-C|--configure)'{-C,--configure}'=[custom configure options]' \ + '(-C --configure)'{-C,--configure}'=[custom configure options]' \ '--nice[process niceness (for slow computers, default 0)]:number' \ '--ree-options[Options passed directly to ree ./installer on the command line]:options' \ '--head[with update, updates rvm to git head version]' \