mirror of
https://github.com/juanfont/headscale.git
synced 2025-10-15 12:29:47 +00:00
Fixed missing nodes cmd
This commit is contained in:
@@ -11,7 +11,8 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init () {
|
func init() {
|
||||||
|
rootCmd.AddCommand(nodeCmd)
|
||||||
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
|
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
|
||||||
err := nodeCmd.MarkPersistentFlagRequired("namespace")
|
err := nodeCmd.MarkPersistentFlagRequired("namespace")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user