mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Make all commands a plural word
This commit is contained in:
		
							parent
							
								
									ba87ade9c5
								
							
						
					
					
						commit
						f5b8a3f710
					
				| @ -9,7 +9,7 @@ import ( | |||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var NamespaceCmd = &cobra.Command{ | var NamespaceCmd = &cobra.Command{ | ||||||
| 	Use:   "namespace", | 	Use:   "namespaces", | ||||||
| 	Short: "Manage the namespaces of Headscale", | 	Short: "Manage the namespaces of Headscale", | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -9,6 +9,11 @@ import ( | |||||||
| 	"github.com/spf13/cobra" | 	"github.com/spf13/cobra" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | var NodeCmd = &cobra.Command{ | ||||||
|  | 	Use:   "nodes", | ||||||
|  | 	Short: "Manage the nodes of Headscale", | ||||||
|  | } | ||||||
|  | 
 | ||||||
| var RegisterCmd = &cobra.Command{ | var RegisterCmd = &cobra.Command{ | ||||||
| 	Use:   "register machineID", | 	Use:   "register machineID", | ||||||
| 	Short: "Registers a machine to your network", | 	Short: "Registers a machine to your network", | ||||||
| @ -81,8 +86,3 @@ var ListNodesCmd = &cobra.Command{ | |||||||
| 
 | 
 | ||||||
| 	}, | 	}, | ||||||
| } | } | ||||||
| 
 |  | ||||||
| var NodeCmd = &cobra.Command{ |  | ||||||
| 	Use:   "node", |  | ||||||
| 	Short: "Manage the nodes of Headscale", |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ import ( | |||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var PreauthkeysCmd = &cobra.Command{ | var PreauthkeysCmd = &cobra.Command{ | ||||||
| 	Use:   "preauthkey", | 	Use:   "preauthkeys", | ||||||
| 	Short: "Handle the preauthkeys in Headscale", | 	Short: "Handle the preauthkeys in Headscale", | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user