From de2c882ba1ee729138b32364c4b20ad645012824 Mon Sep 17 00:00:00 2001 From: jcsiadal Date: Thu, 28 Oct 2021 17:48:16 -0700 Subject: [PATCH] Replace HTML in help Signed-off-by: jcsiadal --- internal/app/wwctl/overlay/build/root.go | 2 +- internal/app/wwctl/overlay/chmod/root.go | 2 +- internal/app/wwctl/overlay/chown/root.go | 2 +- internal/app/wwctl/overlay/create/root.go | 2 +- internal/app/wwctl/overlay/delete/root.go | 2 +- internal/app/wwctl/overlay/edit/root.go | 2 +- internal/app/wwctl/overlay/imprt/root.go | 2 +- internal/app/wwctl/overlay/list/root.go | 2 +- internal/app/wwctl/overlay/mkdir/root.go | 2 +- internal/app/wwctl/overlay/show/root.go | 2 +- internal/app/wwctl/power/cycle/root.go | 2 +- internal/app/wwctl/profile/add/root.go | 2 +- internal/app/wwctl/profile/delete/root.go | 2 +- internal/app/wwctl/profile/set/root.go | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/internal/app/wwctl/overlay/build/root.go b/internal/app/wwctl/overlay/build/root.go index a6901f87..197c9f5e 100644 --- a/internal/app/wwctl/overlay/build/root.go +++ b/internal/app/wwctl/overlay/build/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "build [flags] ", + Use: "build [flags] (overlay kind) (overlay name)", Short: "(Re)build an overlay", Long: "This command will build a system or runtime overlay.", RunE: CobraRunE, diff --git a/internal/app/wwctl/overlay/chmod/root.go b/internal/app/wwctl/overlay/chmod/root.go index b9a254d6..d9755157 100644 --- a/internal/app/wwctl/overlay/chmod/root.go +++ b/internal/app/wwctl/overlay/chmod/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "chmod [flags] ", + Use: "chmod [flags] (overlay kind) (overlay name) (path) (mode)", Short: "Change file permissions within an overlay", Long: "This command will allow you to change the permissions of a file within an\n" + "overlay.", diff --git a/internal/app/wwctl/overlay/chown/root.go b/internal/app/wwctl/overlay/chown/root.go index 941328f0..970434dd 100644 --- a/internal/app/wwctl/overlay/chown/root.go +++ b/internal/app/wwctl/overlay/chown/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "chown [flags] []", + Use: "chown [flags] (overlay kind) (overlay name) (path) (UID) [(GID)]", Short: "Change file ownership within an overlay", Long: "This command will allow you to change the ownership of a file within an\n" + "overlay.", diff --git a/internal/app/wwctl/overlay/create/root.go b/internal/app/wwctl/overlay/create/root.go index 15242009..9b671b3b 100644 --- a/internal/app/wwctl/overlay/create/root.go +++ b/internal/app/wwctl/overlay/create/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "create [flags] ", + Use: "create [flags] (overlay kind) (overlay name)", Short: "Initialize a new Overlay", Long: "This command will create a new empty overlay.", RunE: CobraRunE, diff --git a/internal/app/wwctl/overlay/delete/root.go b/internal/app/wwctl/overlay/delete/root.go index bfe9299c..da636e8d 100644 --- a/internal/app/wwctl/overlay/delete/root.go +++ b/internal/app/wwctl/overlay/delete/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "delete [flags] [overlay file]", + Use: "delete [flags] (overlay kind) (overlay name) [overlay file]", Short: "Delete Warewulf Overlay or files", Long: "This command will delete files within an overlay or an entire overlay if no\n" + "files are given to remove (use with caution).", diff --git a/internal/app/wwctl/overlay/edit/root.go b/internal/app/wwctl/overlay/edit/root.go index 3ec6add2..e1b5c2cf 100644 --- a/internal/app/wwctl/overlay/edit/root.go +++ b/internal/app/wwctl/overlay/edit/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "edit [flags] ", + Use: "edit [flags] (overlay kind) (overlay name) (file path)", Short: "Edit/Create a file within a Warewulf Overlay", Long: "This command will allow you to edit or create a new file within a given\n" + "overlay. Note: when creating files ending in a '.ww' suffix this will always be\n" + diff --git a/internal/app/wwctl/overlay/imprt/root.go b/internal/app/wwctl/overlay/imprt/root.go index 983052b8..c0fcbad9 100644 --- a/internal/app/wwctl/overlay/imprt/root.go +++ b/internal/app/wwctl/overlay/imprt/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "import [flags] [overlay target]", + Use: "import [flags] (overlay kind) (overlay name) (host source) [overlay target]", Short: "Import a file into a Warewulf Overlay", Long: "This command will import a file into a given Warewulf overlay.", RunE: CobraRunE, diff --git a/internal/app/wwctl/overlay/list/root.go b/internal/app/wwctl/overlay/list/root.go index 9643845b..ea2310e9 100644 --- a/internal/app/wwctl/overlay/list/root.go +++ b/internal/app/wwctl/overlay/list/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "list [flags] [overlay name]", + Use: "list [flags] (overlay kind) [overlay name]", Short: "List Warewulf Overlays and files", Long: "This command will show you information about Warewulf overlays and the\n" + "files contained within.", diff --git a/internal/app/wwctl/overlay/mkdir/root.go b/internal/app/wwctl/overlay/mkdir/root.go index 8a557079..148d0514 100644 --- a/internal/app/wwctl/overlay/mkdir/root.go +++ b/internal/app/wwctl/overlay/mkdir/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "mkdir [flags] ", + Use: "mkdir [flags] (overlay kind) (overlay name) (directory path)", Short: "Create a new directory within an Overlay", Long: "This command will allow you to create a new file within a given Warewulf overlay.", RunE: CobraRunE, diff --git a/internal/app/wwctl/overlay/show/root.go b/internal/app/wwctl/overlay/show/root.go index a8c51efc..fe58f714 100644 --- a/internal/app/wwctl/overlay/show/root.go +++ b/internal/app/wwctl/overlay/show/root.go @@ -6,7 +6,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "show [flags] ", + Use: "show [flags] (overlay kind) (overlay name) (overlay file)", Short: "Show (cat) a file within a Warewulf Overlay", Long: "This command will output the contents of a file within a given\n" + "Warewulf overlay.", diff --git a/internal/app/wwctl/power/cycle/root.go b/internal/app/wwctl/power/cycle/root.go index e89899fc..fcd9093d 100644 --- a/internal/app/wwctl/power/cycle/root.go +++ b/internal/app/wwctl/power/cycle/root.go @@ -6,7 +6,7 @@ import ( var ( powerCmd = &cobra.Command{ - Use: "cycle [flags] ...", + Use: "cycle [flags] (node pattern)...", Short: "Power cycle the given node(s)", Long: "This command will cycle the power for a given set of nodes.", RunE: CobraRunE, diff --git a/internal/app/wwctl/profile/add/root.go b/internal/app/wwctl/profile/add/root.go index 85d1ac42..f560128c 100644 --- a/internal/app/wwctl/profile/add/root.go +++ b/internal/app/wwctl/profile/add/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "add ", + Use: "add (profile name)", Short: "Add a new node profile", Long: "This command will add a new node profile.", RunE: CobraRunE, diff --git a/internal/app/wwctl/profile/delete/root.go b/internal/app/wwctl/profile/delete/root.go index 44f3afe0..aaf92662 100644 --- a/internal/app/wwctl/profile/delete/root.go +++ b/internal/app/wwctl/profile/delete/root.go @@ -4,7 +4,7 @@ import "github.com/spf13/cobra" var ( baseCmd = &cobra.Command{ - Use: "delete [flags] ", + Use: "delete [flags] (profile pattern)", Short: "Delete a node profile", Long: "This command will delete a node profile.", RunE: CobraRunE, diff --git a/internal/app/wwctl/profile/set/root.go b/internal/app/wwctl/profile/set/root.go index cb0b765a..6e533b5f 100644 --- a/internal/app/wwctl/profile/set/root.go +++ b/internal/app/wwctl/profile/set/root.go @@ -12,7 +12,7 @@ import ( var ( baseCmd = &cobra.Command{ - Use: "set [flags] ...", + Use: "set [flags] (profile pattern)...", Short: "Configure node profile properties", Long: "This command will allow you to set configuration properties for node profiles.\n\n" + "Note: use the string 'UNSET' to remove a configuration",