parent
7ad3a171c0
commit
897497d8b7
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -52,7 +52,7 @@ func main() {
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if comment == "" || commentFile != "" {
|
if comment == "" && commentFile == "" {
|
||||||
panic("You must provide a comment")
|
panic("You must provide a comment")
|
||||||
}
|
}
|
||||||
if commentFile != "" && comment != "" {
|
if commentFile != "" && comment != "" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue