Skip to content

Commit

Permalink
remove constraint on input files
Browse files Browse the repository at this point in the history
  • Loading branch information
meomap committed Sep 1, 2018
1 parent 1255158 commit 08b6696
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ func main() {
flag.Parse()

// required args
if *pbsIn == "" || *filesIn == "" {
if *pbsIn == "" {
flag.PrintDefaults()
os.Exit(1)
}
if *filesIn == "" {
return
}
if *debug == false {
log.SetOutput(ioutil.Discard)
}
Expand Down

0 comments on commit 08b6696

Please sign in to comment.