Skip to content

Commit

Permalink
Fixed missing nodes cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Jul 31, 2021
1 parent c3aa9a5 commit 6c903d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/headscale/cli/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import (
"github.com/spf13/cobra"
)

func init () {
func init() {
rootCmd.AddCommand(nodeCmd)
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
err := nodeCmd.MarkPersistentFlagRequired("namespace")
if err != nil {
Expand Down

0 comments on commit 6c903d4

Please sign in to comment.