mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Remove "Keys: " from create auth key output
This is based on the premis that "the user know what command they executed" and therefor know that the output is the key. This makes the command a lot more useful in scripts.
This commit is contained in:
parent
642c7824a7
commit
91ffd10192
@ -116,6 +116,6 @@ var createPreAuthKeyCmd = &cobra.Command{
|
|||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Printf("Key: %s\n", k.Key)
|
fmt.Printf("%s\n", k.Key)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user