From 55694e4694c102038d550ab321e55f754d2cf0d8 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Mon, 11 Nov 2024 09:23:41 -0700 Subject: [PATCH] Fix `wwctl upgrade config` description Signed-off-by: Jonathon Anderson --- internal/app/wwctl/upgrade/config/cobra.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/app/wwctl/upgrade/config/cobra.go b/internal/app/wwctl/upgrade/config/cobra.go index a660a32fc..90effa800 100644 --- a/internal/app/wwctl/upgrade/config/cobra.go +++ b/internal/app/wwctl/upgrade/config/cobra.go @@ -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, } @@ -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 {