@@ -19,11 +19,11 @@ func init() {
1919 fixCmd .Flags ().Bool ("all" , false , "Alias for --workspace (deprecated)" )
2020 fixCmd .Flags ().Bool ("all-features" , false , "Activate all available features" )
2121 fixCmd .Flags ().Bool ("all-targets" , false , "Fix all targets (default)" )
22- fixCmd .Flags ().Bool ("allow-dirty" , false , "Fix code even if the working directory is dirty" )
22+ fixCmd .Flags ().Bool ("allow-dirty" , false , "Fix code even if the working directory is dirty or has staged changes " )
2323 fixCmd .Flags ().Bool ("allow-no-vcs" , false , "Fix code even if a VCS was not detected" )
2424 fixCmd .Flags ().Bool ("allow-staged" , false , "Fix code even if the working directory has staged changes" )
2525 fixCmd .Flags ().StringSlice ("bench" , nil , "Fix only the specified bench target" )
26- fixCmd .Flags ().Bool ("benches" , false , "Fix all bench targets " )
26+ fixCmd .Flags ().Bool ("benches" , false , "Fix all targets that have ` bench = true` set " )
2727 fixCmd .Flags ().StringSlice ("bin" , nil , "Fix only the specified binary" )
2828 fixCmd .Flags ().Bool ("bins" , false , "Fix all binaries" )
2929 fixCmd .Flags ().Bool ("broken-code" , false , "Fix code even if it already has compiler errors" )
@@ -38,6 +38,7 @@ func init() {
3838 fixCmd .Flags ().StringP ("jobs" , "j" , "" , "Number of parallel jobs, defaults to # of CPUs." )
3939 fixCmd .Flags ().Bool ("keep-going" , false , "Do not abort the build as soon as there is an error" )
4040 fixCmd .Flags ().Bool ("lib" , false , "Fix only this package's library" )
41+ fixCmd .Flags ().String ("lockfile-path" , "" , "Path to Cargo.lock (unstable)" )
4142 fixCmd .Flags ().String ("manifest-path" , "" , "Path to Cargo.toml" )
4243 fixCmd .Flags ().StringSlice ("message-format" , nil , "Error format" )
4344 fixCmd .Flags ().Bool ("no-default-features" , false , "Do not activate the `default` feature" )
@@ -47,7 +48,7 @@ func init() {
4748 fixCmd .Flags ().StringSlice ("target" , nil , "Fix for the target triple" )
4849 fixCmd .Flags ().String ("target-dir" , "" , "Directory for all generated artifacts" )
4950 fixCmd .Flags ().StringSlice ("test" , nil , "Fix only the specified test target" )
50- fixCmd .Flags ().Bool ("tests" , false , "Fix all test targets " )
51+ fixCmd .Flags ().Bool ("tests" , false , "Fix all targets that have ` test = true` set " )
5152 fixCmd .Flags ().String ("timings" , "" , "Timing output formats (unstable) (comma separated): html, json" )
5253 fixCmd .Flags ().Bool ("workspace" , false , "Fix all packages in the workspace" )
5354 fixCmd .Flag ("timings" ).NoOptDefVal = " "
@@ -59,6 +60,7 @@ func init() {
5960 "example" : action .ActionTargets (fixCmd , action.TargetOpts {Example : true }),
6061 "exclude" : action .ActionWorkspaceMembers (fixCmd ),
6162 "features" : action .ActionFeatures (fixCmd ).UniqueList ("," ),
63+ "lockfile-path" : carapace .ActionFiles (),
6264 "manifest-path" : carapace .ActionFiles (),
6365 "message-format" : action .ActionMessageFormats (),
6466 "package" : action .ActionDependencies (fixCmd , true ),
0 commit comments