Add -r option to completions.
This commit is contained in:
		
					parent
					
						
							
								a8dcba53a4
							
						
					
				
			
			
				commit
				
					
						a6d2407b73
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,7 @@ _cdist()
 | 
			
		|||
        config|install)
 | 
			
		||||
            opts="-h --help -d --debug -v --verbose -b --beta \
 | 
			
		||||
                -C --cache-path-pattern -c --conf-dir -f --file -i --initial-manifest -j --jobs \
 | 
			
		||||
                -n --dry-run -o --out-dir -p --parallel -s --sequential \
 | 
			
		||||
                -n --dry-run -o --out-dir -p --parallel -r --remote-out-dir -s --sequential \
 | 
			
		||||
                --remote-copy --remote-exec"
 | 
			
		||||
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
 | 
			
		||||
            return 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,7 +36,7 @@ _cdist()
 | 
			
		|||
                    esac
 | 
			
		||||
                    ;;
 | 
			
		||||
                config|install)
 | 
			
		||||
                    opts=(-h --help -d --debug -v --verbose -b --beta -C --cache-path-pattern -c --conf-dir -f --file -i --initial-manifest -j --jobs -n --dry-run -o --out-dir -p --parallel -s --sequential --remote-copy --remote-exec)
 | 
			
		||||
                    opts=(-h --help -d --debug -v --verbose -b --beta -C --cache-path-pattern -c --conf-dir -f --file -i --initial-manifest -j --jobs -n --dry-run -o --out-dir -p --parallel -r --remote-out-dir -s --sequential --remote-copy --remote-exec)
 | 
			
		||||
                    compadd "$@" -- $opts
 | 
			
		||||
                    ;;
 | 
			
		||||
               *)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue