First pass at a rework of the overlay subsystem in Warewulf
This commit is contained in:
@@ -4,12 +4,12 @@ import "github.com/spf13/cobra"
|
||||
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
Use: "chown [OPTIONS] {system|runtime} OVERLAY_NAME FILE UID [GID]",
|
||||
Short: "Change file ownership within an overlay",
|
||||
Long: "This command changes the ownership of a FILE within the system or runtime OVERLAY_NAME\n" +
|
||||
"to the user specified by UID. Optionally, it will also change group ownership to GID.",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.RangeArgs(4, 5),
|
||||
DisableFlagsInUseLine: true,
|
||||
Use: "chown [OPTIONS] OVERLAY_NAME FILE UID [GID]",
|
||||
Short: "Change file ownership within an overlay",
|
||||
Long: "This command changes the ownership of a FILE within the system or runtime OVERLAY_NAME\nto the user specified by UID. Optionally, it will also change group ownership to GID.",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.RangeArgs(3, 4),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user