We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ce9c6 commit 909fd03Copy full SHA for 909fd03
main.go
@@ -3,7 +3,6 @@ package main
3
import (
4
_ "embed"
5
"fmt"
6
- "log"
7
"os"
8
9
"github.com/barelyhuman/commitlog/commands"
@@ -88,7 +87,8 @@ func main() {
88
87
Name: "path",
89
Value: ".",
90
Aliases: []string{"p"},
91
- Usage: "root with the '.git' folder `PATH`",
+ Usage: "`PATH` to a folder where .commitlog.release exists or is to be created." +
+ "(note: do not use `--commit` or `--push` if the file isn't in the root)",
92
},
93
&cli.BoolFlag{
94
Name: "pre",
@@ -137,6 +137,6 @@ func main() {
137
138
err := app.Run(os.Args)
139
if err != nil {
140
- log.Fatal(err)
+ fmt.Fprintf(os.Stderr, "[commitlog] %v", err)
141
}
142
0 commit comments