We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321a33d commit ad7599aCopy full SHA for ad7599a
cmd/finley/main.go
@@ -19,7 +19,8 @@ import (
19
)
20
21
const (
22
- usageFormat = `finley - %s
+ appName = "finley"
23
+ usageFormat = appName + ` - %s
24
25
usage: finley [options] directory-path/
26
@@ -77,7 +78,7 @@ func main() {
77
78
}
79
80
if len(*outputDirPath) == 0 {
- *outputDirPath = filepath.Base(targetDirPath)
81
+ *outputDirPath = filepath.Base(targetDirPath) + "-" + appName
82
83
if info, readDirErr := ioutil.ReadDir(*outputDirPath); readDirErr == nil && len(info) > 0 {
84
log.Fatalf("the output directory ('%s') is not empty", *outputDirPath)
0 commit comments