Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 517ece6

Browse files
committed
Drop --append flag and improve help text of --update
1 parent d55ca4a commit 517ece6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

internals/secrethub/migrate.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ type MigrateApplyCommand struct {
694694
newClient newClientFunc
695695

696696
planFile string
697-
append bool
698697
update bool
699698
}
700699

@@ -713,8 +712,7 @@ func (cmd *MigrateApplyCommand) Register(r cli.Registerer) {
713712
"Check out https://secrethub.io/docs/1password/migration/ for detailed instructions.")
714713

715714
clause.Flags().StringVar(&cmd.planFile, "plan-file", defaultPlanPath, "Path to the YAML file specifying what vaults and items to create.")
716-
clause.Flags().BoolVar(&cmd.append, "append", false, "When a vault with the given name already exists, append items to that vault.").Hidden()
717-
clause.Flags().BoolVar(&cmd.update, "update", false, "Update 1Password fields that differ from their corresponding SecretHub value without prompting.")
715+
clause.Flags().BoolVar(&cmd.update, "update", false, "Perform migration without prompting for confirmation.")
718716

719717
clause.BindAction(cmd.Run)
720718
}

0 commit comments

Comments
 (0)