From 3921292a9b02425fb0bef81171259dbb53a71696 Mon Sep 17 00:00:00 2001 From: ppom <> Date: Mon, 4 Dec 2023 12:00:00 +0100 Subject: [PATCH] Add link to the wiki in --help --- app/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/main.go b/app/main.go index e5cca74..b2ce309 100644 --- a/app/main.go +++ b/app/main.go @@ -72,9 +72,7 @@ func basicUsage() { bold = "\033[1m" reset = "\033[0m" ) - fmt.Print(`usage: - -` + bold + `reaction start` + reset + ` + fmt.Print(bold + `reaction start` + reset + ` # start the daemon # options: @@ -107,6 +105,9 @@ func basicUsage() { ` + bold + `reaction test-regex` + reset + ` REGEX LINE # test REGEX against LINE cat FILE | ` + bold + `reaction test-regex` + reset + ` REGEX # test REGEX against each line of FILE + +see usage examples, service configurations and good practices +on the ` + bold + `wiki` + reset + `: https://framagit.org/ppom/reaction-wiki `) }