mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-02 03:33:05 +00:00
apply styling fixes
This commit is contained in:
parent
4e686f8b77
commit
1b3a7bbf03
1 changed files with 3 additions and 0 deletions
|
@ -48,11 +48,14 @@ func init() {
|
||||||
nodeCmd.AddCommand(deleteNodeCmd)
|
nodeCmd.AddCommand(deleteNodeCmd)
|
||||||
|
|
||||||
moveNodeCmd.Flags().Uint64P("identifier", "i", 0, "Node identifier (ID)")
|
moveNodeCmd.Flags().Uint64P("identifier", "i", 0, "Node identifier (ID)")
|
||||||
|
|
||||||
err = moveNodeCmd.MarkFlagRequired("identifier")
|
err = moveNodeCmd.MarkFlagRequired("identifier")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf(err.Error())
|
log.Fatalf(err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
moveNodeCmd.Flags().StringP("namespace", "n", "", "New namespace")
|
moveNodeCmd.Flags().StringP("namespace", "n", "", "New namespace")
|
||||||
|
|
||||||
err = moveNodeCmd.MarkFlagRequired("namespace")
|
err = moveNodeCmd.MarkFlagRequired("namespace")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf(err.Error())
|
log.Fatalf(err.Error())
|
||||||
|
|
Loading…
Reference in a new issue