Skip to content

Commit

Permalink
Auto merge of #2340 - gentoo90:bash-comp, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Jan 30, 2016
2 parents d635b2d + 8e6c7c7 commit c4c6f39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/etc/cargo.bashcomp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ _cargo()
local opt__generate_lockfile="${opt__fetch}"
local opt__git_checkout="$opt_common --reference --url"
local opt__help="$opt_help"
local opt__init="$opt_common --bin --name --vcs"
local opt__install="$opt_common $opt_feat $opt_jobs --bin --branch --debug --example --git --list --path --rev --root --tag --vers"
local opt__locate_project="$opt_mani -h --help"
local opt__login="$opt_common --host"
local opt__metadata="$opt_common $opt_feat $opt_mani --format-version"
local opt__new="$opt_common --vcs --bin --name"
local opt__owner="$opt_common -a --add -r --remove -l --list --index --token"
local opt__package="$opt_common $opt_mani -l --list --no-verify --no-metadata"
local opt__pkgid="${opt__fetch}"
local opt__publish="$opt_common $opt_mani --host --token --no-verify"
local opt__read_manifest="$opt_help $opt_verbose $opt_mani --color"
local opt__read_manifest="$opt_help $opt_verbose $opt_mani $opt_color"
local opt__run="$opt_common $opt_feat $opt_mani $opt_jobs --target --bin --example --release"
local opt__rustc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release"
local opt__rustdoc="$opt_common $opt_pkg $opt_feat $opt_mani $opt_jobs --target --lib --bin --test --bench --example --release --open"
Expand All @@ -47,7 +49,7 @@ _cargo()
local opt__uninstall="$opt_common --bin --root"
local opt__update="$opt_common $opt_pkg $opt_mani --aggressive --precise"
local opt__verify_project="${opt__fetch}"
local opt__version="$opt_help $opt_verbose --color"
local opt__version="$opt_help $opt_verbose $opt_color"
local opt__yank="$opt_common --vers --undo --index --token"

if [[ $cword -eq 1 ]]; then
Expand Down

0 comments on commit c4c6f39

Please sign in to comment.