Skip to content

Commit

Permalink
Merge pull request warewulf#1545 from anderbubble/typo-upgrade-descri…
Browse files Browse the repository at this point in the history
…ption

Fix `wwctl upgrade config` description
  • Loading branch information
mslacken authored Nov 12, 2024
2 parents 0f66aec + 55694e4 commit cf01674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/app/wwctl/upgrade/config/cobra.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ var (
Command = &cobra.Command{
DisableFlagsInUseLine: true,
Use: "config [OPTIONS]",
Short: "Upgrade an existing nodes.conf",
Long: `Upgrades nodes.conf from a previous version of Warewulf 4 to a format
Short: "Upgrade an existing warewulf.conf",
Long: `Upgrades warewulf.conf from a previous version of Warewulf 4 to a format
supported by the current version.`,
RunE: UpgradeNodesConf,
}
Expand All @@ -26,8 +26,8 @@ supported by the current version.`,
)

func init() {
Command.Flags().StringVarP(&inputPath, "input-path", "i", config.ConfigFile, "Path to a legacy nodes.conf")
Command.Flags().StringVarP(&outputPath, "output-path", "o", config.ConfigFile, "Path to write the upgraded nodes.conf to")
Command.Flags().StringVarP(&inputPath, "input-path", "i", config.ConfigFile, "Path to a legacy warewulf.conf")
Command.Flags().StringVarP(&outputPath, "output-path", "o", config.ConfigFile, "Path to write the upgraded warewulf.conf to")
}

func UpgradeNodesConf(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit cf01674

Please sign in to comment.