diff --git a/README.md b/README.md index 354ef36..fdce665 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Options: -s|--simplify Run a paket simplify -si|--simplify-interactive Run a paket simplify interactive mode -sa|--simplify-args Args to pass to paket simplify (Note: should be in quotes) - -rd|--redirects Add args for redirects on install/update/add + -rd|--redirects Force redirects on install/update/add -ri|--reinstall Delete the lock file and create from scratch -so|--sort Sort paket files alphabetically -cc|--clear-cache Clear caches before running diff --git a/src/PaketChain/AdditionalArgs.cs b/src/PaketChain/AdditionalArgs.cs index 60313ad..43aa087 100644 --- a/src/PaketChain/AdditionalArgs.cs +++ b/src/PaketChain/AdditionalArgs.cs @@ -9,10 +9,10 @@ internal class AdditionalArgs public AdditionalArgs(RunnerArgs runnerArgs) { - PaketRedirectArgs = runnerArgs.Redirects ? "--redirects --create-new-binding-files --clean-redirects" : ""; + PaketRedirectArgs = runnerArgs.Redirects ? "--redirects --create-new-binding-files --clean-redirects" : "--create-new-binding-files --clean-redirects"; PaketForceArgs = runnerArgs.Force ? "--force" : ""; PaketVerboseArgs = runnerArgs.Verbose ? "--verbose" : ""; DotnetVerboseArgs = runnerArgs.Verbose ? "--verbosity d" : ""; } } -} \ No newline at end of file +} diff --git a/src/PaketChain/RunnerArgs.cs b/src/PaketChain/RunnerArgs.cs index 7fbbffb..5a4c7ed 100644 --- a/src/PaketChain/RunnerArgs.cs +++ b/src/PaketChain/RunnerArgs.cs @@ -65,7 +65,7 @@ internal class RunnerArgs [Option("-sa|--simplify-args ", "Args to pass to paket simplify (Note: should be in quotes)", CommandOptionType.SingleValue)] public string SimplifyArgs { get; } - [Option("-rd|--redirects", "Add args for redirects on install/update/add", CommandOptionType.NoValue)] + [Option("-rd|--redirects", "Force redirects on install/update/add", CommandOptionType.NoValue)] public bool Redirects { get; } [Option("-ri|--reinstall", "Delete the lock file and create from scratch", CommandOptionType.NoValue)]