diff --git a/src/cli.rs b/src/cli.rs index 2252e9d..eb98489 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -76,7 +76,7 @@ pub struct Args { #[arg(short, long)] stamp: bool, - /// Number of days backwards to keep + /// Delete only artifacts older than ... days #[arg(short, long, value_name = "DAYS")] time: Option, diff --git a/tests/usage-long.trycmd b/tests/usage-long.trycmd index d247997..27da64a 100644 --- a/tests/usage-long.trycmd +++ b/tests/usage-long.trycmd @@ -33,7 +33,7 @@ Options: Store timestamp file at the given path, is used by file option -t, --time - Number of days backwards to keep + Delete only artifacts older than ... days -a, --all Apply on all provided projects diff --git a/tests/usage.trycmd b/tests/usage.trycmd index 72c9075..79cde64 100644 --- a/tests/usage.trycmd +++ b/tests/usage.trycmd @@ -15,7 +15,7 @@ Options: -m, --maxsize Remove oldest artifacts from the target folder until it's smaller than MAXSIZE -r, --recursive Apply on all projects below the given path -s, --stamp Store timestamp file at the given path, is used by file option - -t, --time Number of days backwards to keep + -t, --time Delete only artifacts older than ... days -a, --all Apply on all provided projects --toolchains Toolchains currently installed by rustup that should have their artifacts kept -v, --verbose... Enable DEBUG logs (use twice for TRACE logs)