mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Make the cli help a little more explicit for the nodes subcommand.
This commit is contained in:
		
							parent
							
								
									c76d3b53d9
								
							
						
					
					
						commit
						f9ece0087d
					
				| @ -17,9 +17,9 @@ import ( | ||||
| 
 | ||||
| func init() { | ||||
| 	rootCmd.AddCommand(nodeCmd) | ||||
| 	listNodesCmd.Flags().StringP("namespace", "n", "", "Namespace") | ||||
| 	listNodesCmd.Flags().StringP("namespace", "n", "", "Filter by namespace") | ||||
| 	nodeCmd.AddCommand(listNodesCmd) | ||||
| 	registerNodeCmd.Flags().StringP("namespace", "n", "", "Namespace") | ||||
| 	registerNodeCmd.Flags().StringP("namespace", "n", "", "Filter by namespace") | ||||
| 	err := registerNodeCmd.MarkFlagRequired("namespace") | ||||
| 	if err != nil { | ||||
| 		log.Fatalf(err.Error()) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user