diff --git a/crates/criticalup-cli/src/lib.rs b/crates/criticalup-cli/src/lib.rs index ab1adae7..1ca28d54 100644 --- a/crates/criticalup-cli/src/lib.rs +++ b/crates/criticalup-cli/src/lib.rs @@ -151,7 +151,7 @@ enum Commands { offline: bool, }, - /// Delete all unused and untracked installations + /// Delete cache and unused installations Clean, /// Run a command for a given toolchain diff --git a/crates/criticalup-cli/tests/snapshots/cli__clean__clean_deletes_only_unused_installations_also_from_disk.snap b/crates/criticalup-cli/tests/snapshots/cli__clean__clean_deletes_only_unused_installations_also_from_disk.snap index 97b0d674..60c69bc0 100644 --- a/crates/criticalup-cli/tests/snapshots/cli__clean__clean_deletes_only_unused_installations_also_from_disk.snap +++ b/crates/criticalup-cli/tests/snapshots/cli__clean__clean_deletes_only_unused_installations_also_from_disk.snap @@ -1,6 +1,7 @@ --- source: crates/criticalup-cli/tests/cli/clean.rs expression: repr +snapshot_kind: text --- exit: exit status: 0 diff --git a/crates/criticalup-cli/tests/snapshots/cli__clean__help_message.snap b/crates/criticalup-cli/tests/snapshots/cli__clean__help_message.snap index d2286c90..00d06b55 100644 --- a/crates/criticalup-cli/tests/snapshots/cli__clean__help_message.snap +++ b/crates/criticalup-cli/tests/snapshots/cli__clean__help_message.snap @@ -1,6 +1,7 @@ --- source: crates/criticalup-cli/tests/cli/clean.rs expression: repr +snapshot_kind: text --- exit: exit status: 0 @@ -8,7 +9,7 @@ empty stdout stderr ------ -Delete all unused and untracked installations +Delete cache and unused installations Usage: criticalup-test clean [OPTIONS] diff --git a/crates/criticalup-cli/tests/snapshots/cli__root__no_args.snap b/crates/criticalup-cli/tests/snapshots/cli__root__no_args.snap index bb3b4143..2f116014 100644 --- a/crates/criticalup-cli/tests/snapshots/cli__root__no_args.snap +++ b/crates/criticalup-cli/tests/snapshots/cli__root__no_args.snap @@ -1,6 +1,7 @@ --- source: crates/criticalup-cli/tests/cli/root.rs expression: repr +snapshot_kind: text --- exit: exit status: 1 @@ -16,7 +17,7 @@ Usage: Commands: auth Show and change authentication with the download server install Install the toolchain for the given project based on the manifest `criticalup.toml` - clean Delete all unused and untracked installations + clean Delete cache and unused installations run Run a command for a given toolchain remove Delete all the products specified in the manifest `criticalup.toml` verify Verify a given toolchain