wwctl completions for no args
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -2,6 +2,7 @@ package ssh
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/warewulf/warewulf/internal/app/wwctl/completions"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -12,8 +13,9 @@ var (
|
||||
Long: "SSH is an optionally dependent service for Warewulf, this tool will automatically\n" +
|
||||
"setup the ssh keys nodes using the 'default' system overlay as well as user owned\n" +
|
||||
"keys.",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.ExactArgs(0),
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.NoArgs,
|
||||
ValidArgsFunction: completions.None,
|
||||
}
|
||||
keyTypes []string
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user