Skip to content

Commit

Permalink
apply styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Perepilitsyn committed May 2, 2022
1 parent 4e686f8 commit 1b3a7bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/headscale/cli/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ func init() {
nodeCmd.AddCommand(deleteNodeCmd)

moveNodeCmd.Flags().Uint64P("identifier", "i", 0, "Node identifier (ID)")

err = moveNodeCmd.MarkFlagRequired("identifier")
if err != nil {
log.Fatalf(err.Error())
}

moveNodeCmd.Flags().StringP("namespace", "n", "", "New namespace")

err = moveNodeCmd.MarkFlagRequired("namespace")
if err != nil {
log.Fatalf(err.Error())
Expand Down

0 comments on commit 1b3a7bb

Please sign in to comment.