From c72a6717b90dfc9ac4fb94de7112c98a3e702428 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 22 Sep 2022 10:14:11 -0500 Subject: [PATCH] update cargo update completions --- custom-completions/cargo/cargo-completions.nu | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/custom-completions/cargo/cargo-completions.nu b/custom-completions/cargo/cargo-completions.nu index 42f0b81..a35d24b 100644 --- a/custom-completions/cargo/cargo-completions.nu +++ b/custom-completions/cargo/cargo-completions.nu @@ -498,15 +498,17 @@ export extern "cargo clippy" [ # Parameters from cargo update export extern "cargo install-update" [ - --cargo-dir(-c) # The cargo home directory. Default: $CARGO_HOME or $HOME/.cargo - --temp-dir(-t) # The temporary directory. Default: $TEMP/cargo-update - --all(-a) # Update all packages - --list(-l) # Don't update packages, only list and check if they need an update (all packages by default) - --force(-f) # Update all packages regardless if they need updating - --downdate(-d) # Downdate packages to match latest unyanked registry version + --all(-a) # Update all packages --allow-no-update(-i) # Allow for fresh-installing packages + --downdate(-d) # Downdate packages to match latest unyanked registry version + --force(-f) # Update all packages regardless if they need updating --git(-g) # Also update git packages + --help(-h) # Prints help information + --list(-l) # Don't update packages, only list and check if they need an update (all packages by default) --quiet(-q) # No output printed to stdout + --version(-V) # Prints version information + --cargo-dir(-c) # The cargo home directory. Default: $CARGO_HOME or $HOME/.cargo --filter(-s) # Specify a filter a package must match to be considered --install-cargo(-r) # Specify an alternative cargo to run for installations -] \ No newline at end of file + --temp-dir(-t) # The temporary directory. Default: $TEMP/cargo-update +]