diff --git a/pkg/cmd/cli/chassis/power/cycle.go b/pkg/cmd/cli/chassis/power/cycle.go index 2882093..43b1162 100644 --- a/pkg/cmd/cli/chassis/power/cycle.go +++ b/pkg/cmd/cli/chassis/power/cycle.go @@ -43,7 +43,6 @@ func NewPowerCycleCommand() *cobra.Command { Short: "Power cycle the target machine(s)", Long: `Performs an ACPI shutdown and startup to power cycle the target machine(s). Also allows bypassing the OS shutdown, forcing a warm boot.`, - Args: cobra.MinimumNArgs(1), Run: func(c *cobra.Command, args []string) { var resetType redfish.ResetType diff --git a/pkg/cmd/cli/chassis/power/off.go b/pkg/cmd/cli/chassis/power/off.go index b07c739..fa6161f 100644 --- a/pkg/cmd/cli/chassis/power/off.go +++ b/pkg/cmd/cli/chassis/power/off.go @@ -44,7 +44,6 @@ func NewPowerOffCommand() *cobra.Command { Long: `Powers off the target machine(s) with an ACPI shutdown. Permits forcing a shutdown (without waiting for the OS), as well as a power-button emulated shutdown.`, - Args: cobra.MinimumNArgs(1), Run: func(c *cobra.Command, args []string) { var resetType redfish.ResetType