Skip to content

Commit 29423ab

Browse files
committed
update -c and -k error messages again
mention the bots.yaml file first and the flags as an alternative
1 parent 64c61fa commit 29423ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ func main() {
6363

6464
if *keyFile == "" {
6565
if botsData.Options.Key == "" {
66-
fmt.Println("Private key file not specified. Please specify it with the -k flag or in the bots.yaml file.")
66+
fmt.Println("Private key file not specified. Please specify it in the bots.yaml file or use the -k flag.")
6767
os.Exit(1)
6868
}
6969
*keyFile = botsData.Options.Key
7070
}
7171

7272
if *certFile == "" {
7373
if botsData.Options.Cert == "" {
74-
fmt.Println("Certificate file not specified. Please specify it with the -c flag or in the bots.yaml file")
74+
fmt.Println("Certificate file not specified. Please specify it in the bots.yaml file or use the -c flag.")
7575
os.Exit(1)
7676
}
7777
*certFile = botsData.Options.Cert

0 commit comments

Comments
 (0)