add -y flag to wwctl profile add
close #610 Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
@@ -58,6 +58,7 @@ func GetCommand() *cobra.Command {
|
||||
}); err != nil {
|
||||
log.Println(err)
|
||||
}
|
||||
baseCmd.PersistentFlags().BoolVarP(&SetYes, "yes", "y", false, "Set 'yes' to all questions asked")
|
||||
|
||||
return baseCmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user