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