Preauthkeys expire help message incomplete #52

Closed
opened 2025-12-29 01:21:12 +01:00 by adam · 0 comments
Owner

Originally created by @0xcd0e on GitHub (Oct 14, 2021).

Tested on v0.10.2
The help message for the preauthkeys expire command does not include information about how to specify which key to expire:

# headscale preauthkeys -n testns expire --help
Expire a preauthkey

Usage:
  headscale preauthkeys expire [flags]

Flags:
  -h, --help   help for expire

Global Flags:
  -n, --namespace string   Namespace
  -o, --output string      Output format. Empty for human-readable, 'json' or 'json-line'

Usage should probably be:

Usage:
  headscale preauthkeys expire KEY [flags]
Originally created by @0xcd0e on GitHub (Oct 14, 2021). Tested on v0.10.2 The help message for the preauthkeys expire command does not include information about how to specify which key to expire: ``` # headscale preauthkeys -n testns expire --help Expire a preauthkey Usage: headscale preauthkeys expire [flags] Flags: -h, --help help for expire Global Flags: -n, --namespace string Namespace -o, --output string Output format. Empty for human-readable, 'json' or 'json-line' ``` Usage should probably be: ``` Usage: headscale preauthkeys expire KEY [flags] ```
adam closed this issue 2025-12-29 01:21:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#52