Revert "Move configuration code out of wwctl"
This commit is contained in:
committed by
GitHub
parent
5a7f99af18
commit
67ee3bf5f8
@@ -5,17 +5,17 @@ import "github.com/spf13/cobra"
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
DisableFlagsInUseLine: true,
|
||||
Use: "tftp [OPTIONS]",
|
||||
Short: "Manage and initialize TFTP",
|
||||
Use: "tftp [OPTIONS]",
|
||||
Short: "Manage and initialize TFTP",
|
||||
Long: "TFTP is a dependent service of Warewulf, this tool will enable the tftp services\n" +
|
||||
"on your Warewulf master.",
|
||||
RunE: CobraRunE,
|
||||
}
|
||||
setShow bool
|
||||
SetShow bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&setShow, "show", "s", false, "Show configuration (don't update)")
|
||||
baseCmd.PersistentFlags().BoolVarP(&SetShow, "show", "s", false, "Show configuration (don't update)")
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
|
||||
Reference in New Issue
Block a user