@@ -248,7 +248,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
248
248
int verbose = 0 ;
249
249
reflog_expiry_should_prune_fn * should_prune_fn = should_expire_reflog_ent ;
250
250
const struct option options [] = {
251
- OPT_BIT (0 , "dry-run" , & flags , N_ ("do not actually prune any entries" ),
251
+ OPT_BIT ('n' , "dry-run" , & flags , N_ ("do not actually prune any entries" ),
252
252
EXPIRE_REFLOGS_DRY_RUN ),
253
253
OPT_BIT (0 , "rewrite" , & flags ,
254
254
N_ ("rewrite the old SHA1 with the new SHA1 of the entry that now precedes it" ),
@@ -368,7 +368,7 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix)
368
368
int verbose = 0 ;
369
369
370
370
const struct option options [] = {
371
- OPT_BIT (0 , "dry-run" , & flags , N_ ("do not actually prune any entries" ),
371
+ OPT_BIT ('n' , "dry-run" , & flags , N_ ("do not actually prune any entries" ),
372
372
EXPIRE_REFLOGS_DRY_RUN ),
373
373
OPT_BIT (0 , "rewrite" , & flags ,
374
374
N_ ("rewrite the old SHA1 with the new SHA1 of the entry that now precedes it" ),
0 commit comments