File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ pub fn main() -> Result<()> {
149
149
#[ cfg( feature = "gitoxide-core-tools-clean" ) ]
150
150
Subcommands :: Clean ( crate :: plumbing:: options:: clean:: Command {
151
151
debug,
152
+ dry_run : _,
152
153
execute,
153
154
ignored,
154
155
precious,
Original file line number Diff line number Diff line change @@ -274,7 +274,6 @@ pub mod corpus {
274
274
}
275
275
276
276
pub mod config {
277
-
278
277
use gix:: bstr:: BString ;
279
278
280
279
/// Print all entries in a configuration file or access other sub-commands
@@ -506,6 +505,9 @@ pub mod clean {
506
505
/// Print additional debug information to help understand decisions it made.
507
506
#[ arg( long) ]
508
507
pub debug : bool ,
508
+ /// A dummy to easy with muscle-memory. This flag is assumed if provided or not, and has no effect.
509
+ #[ arg( short = 'n' , long) ]
510
+ pub dry_run : bool ,
509
511
/// Actually perform the operation, which deletes files on disk without chance of recovery.
510
512
#[ arg( long, short = 'e' ) ]
511
513
pub execute : bool ,
@@ -689,6 +691,7 @@ pub mod revision {
689
691
DiffOrGit ,
690
692
}
691
693
}
694
+
692
695
#[ derive( Debug , clap:: Subcommand ) ]
693
696
#[ clap( visible_alias = "rev" , visible_alias = "r" ) ]
694
697
pub enum Subcommands {
@@ -859,7 +862,6 @@ pub mod index {
859
862
}
860
863
861
864
pub mod submodule {
862
-
863
865
#[ derive( Debug , clap:: Parser ) ]
864
866
pub struct Platform {
865
867
#[ clap( subcommand) ]
You can’t perform that action at this time.
0 commit comments