mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Fixed missing nodes cmd
This commit is contained in:
parent
c3aa9a5d4c
commit
6c903d4a2f
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user