apply styling fixes

This commit is contained in:
Igor Perepilitsyn 2022-05-02 08:32:33 +04:00
parent 4e686f8b77
commit 1b3a7bbf03

View file

@ -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())