Skip to content

Commit eb2b289

Browse files
m-czernekcbosdo
authored andcommitted
Unify backup create and restore dryrun option case
1 parent aa8c2ef commit eb2b289

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

mgradm/cmd/backup/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func newRestoreCmd(globalFlags *types.GlobalFlags, run utils.CommandFunc[shared.
6161
restoreCmd.Flags().Bool("skipimages", false, L("Skip restore of container images"))
6262
restoreCmd.Flags().Bool("skipconfig", false, L("Do not restore podman configuration. Defaults will be used"))
6363
restoreCmd.Flags().Bool("restart", false, L("Restart service after restore is done"))
64-
restoreCmd.Flags().Bool("dryRun", false, L("Print expected actions, but no action is done"))
64+
restoreCmd.Flags().Bool("dryrun", false, L("Print expected actions, but no action is done"))
6565
restoreCmd.Flags().Bool("force", false, L("Force overwrite of existing items"))
6666
restoreCmd.Flags().Bool("continue", false, L("Skip existing items and restore the rest"))
6767
restoreCmd.Flags().Bool("skipverify", false, L("Skip verification of the backup files"))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Unify backup create and restore dryrun option case

0 commit comments

Comments
 (0)