From 657f8948cc6287d9833a8b8b4cf3f928681a9cf9 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Fri, 26 Nov 2021 14:13:25 +0000 Subject: [PATCH] Removed shorthand for subnet --- cmd/headscale/cli/preauthkeys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/headscale/cli/preauthkeys.go b/cmd/headscale/cli/preauthkeys.go index 2dd06203..7426d4bc 100644 --- a/cmd/headscale/cli/preauthkeys.go +++ b/cmd/headscale/cli/preauthkeys.go @@ -35,7 +35,7 @@ func init() { createPreAuthKeyCmd.Flags(). DurationP("expiration", "e", DefaultPreAuthKeyExpiry, "Human-readable expiration of the key (30m, 24h, 365d...)") createPreAuthKeyCmd.Flags(). - StringP("subnet", "s", "", "Subnet to assign new nodes to") + StringP("subnet", "", "", "Subnet to assign new nodes to") createPreAuthKeyCmd.Flags(). String("ip", "", "IP to assign a node to (only supported for non-resuable keys)") }