Add long description for expire

This commit is contained in:
Kristoffer Dalby 2021-11-21 21:35:36 +00:00
parent b152e53b13
commit fac33e46e1
No known key found for this signature in database
GPG key ID: 09F62DC067465735

View file

@ -187,6 +187,7 @@ var listNodesCmd = &cobra.Command{
var expireNodeCmd = &cobra.Command{ var expireNodeCmd = &cobra.Command{
Use: "expire", Use: "expire",
Short: "Expire (log out) a machine in your network", Short: "Expire (log out) a machine in your network",
Long: "Expiring a node will keep the node in the database and force it to reauthenticate.",
Aliases: []string{"logout"}, Aliases: []string{"logout"},
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
output, _ := cmd.Flags().GetString("output") output, _ := cmd.Flags().GetString("output")