added hash check for node edit
Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
@@ -29,11 +29,11 @@ var (
|
||||
},
|
||||
}
|
||||
SetYes bool
|
||||
SetForce bool // currently unused
|
||||
SetForce bool // no hash checking, so always using force
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&SetForce, "force", "f", false, "Force node delete")
|
||||
SetForce = true
|
||||
baseCmd.PersistentFlags().BoolVarP(&SetYes, "yes", "y", false, "Set 'yes' to all questions asked")
|
||||
|
||||
}
|
||||
@@ -41,4 +41,4 @@ func init() {
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
func GetCommand() *cobra.Command {
|
||||
return baseCmd
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user