am-hook: Add version indicator
1 files changed, 4 insertions(+), 0 deletions(-) M cmd/am-hook/main.go
M cmd/am-hook/main.go => cmd/am-hook/main.go +4 -0
@@ 34,9 34,13 @@ var ( recipientID = pflag.String("recipient-id", os.Getenv("THREEMA_CLI_RECIPIENT_ID"), "Threema ID send messages to, required. Can also be set using the environment variable THREEMA_CLI_RECIPIENT_ID") alertRate = rate.Every(24 * time.Hour / 4) // Refill four tokens per day Commit = "unknown" ) func main() { fmt.Printf("Starting am-hook (commit %s)\n", Commit) pflag.Parse() checkFlags()