mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	fix: Remove days from expiry option value examples
This commit is contained in:
		
							parent
							
								
									23be13b113
								
							
						
					
					
						commit
						b2ae9b6cac
					
				@ -23,7 +23,7 @@ func init() {
 | 
			
		||||
	apiKeysCmd.AddCommand(listAPIKeys)
 | 
			
		||||
 | 
			
		||||
	createAPIKeyCmd.Flags().
 | 
			
		||||
		DurationP("expiration", "e", DefaultAPIKeyExpiry, "Human-readable expiration of the key (30m, 24h, 365d...)")
 | 
			
		||||
		DurationP("expiration", "e", DefaultAPIKeyExpiry, "Human-readable expiration of the key (e.g. 30m, 24h)")
 | 
			
		||||
 | 
			
		||||
	apiKeysCmd.AddCommand(createAPIKeyCmd)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,7 @@ func init() {
 | 
			
		||||
	createPreAuthKeyCmd.PersistentFlags().
 | 
			
		||||
		Bool("ephemeral", false, "Preauthkey for ephemeral nodes")
 | 
			
		||||
	createPreAuthKeyCmd.Flags().
 | 
			
		||||
		DurationP("expiration", "e", DefaultPreAuthKeyExpiry, "Human-readable expiration of the key (30m, 24h, 365d...)")
 | 
			
		||||
		DurationP("expiration", "e", DefaultPreAuthKeyExpiry, "Human-readable expiration of the key (e.g. 30m, 24h)")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var preauthkeysCmd = &cobra.Command{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user