Very minor fix to force minimum args for ssh

This commit is contained in:
Gregory Kurtzer
2022-06-08 21:43:31 -07:00
parent b1e76d2519
commit 3cb59b89ea

View File

@@ -7,10 +7,11 @@ import (
var (
baseCmd = &cobra.Command{
DisableFlagsInUseLine: true,
Use: "ssh [OPTIONS] NODE_PATTERN...",
Use: "ssh [OPTIONS] NODE_PATTERN COMMAND",
Short: "SSH into configured nodes in parallel",
Long: "Easily ssh into nodes in parallel to run non-interactive commands\n",
RunE: CobraRunE,
Args: cobra.MinimumNArgs(2),
}
DryRun bool
FanOut int