diff options
author | Keuin <[email protected]> | 2022-09-10 16:28:38 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-10 16:28:43 +0800 |
commit | d5a5fa0acaeb3c85c2e33108bba723784167017a (patch) | |
tree | d108574a6661ff3fd11fe1de0bf0c2b125f70f3a /main.go | |
parent | 6b2aa054f7d6ea2c6f6dc2d2636901f61ecd8a51 (diff) |
Bugfix: wrong error message when the program is run without any argument.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ func getTasks() (tasks []recording.TaskConfig) { fromCli := len(*rooms) > 0 fromFile := *configFilePtr != "" - if fromCli == fromFile { + if fromCli && fromFile { err = fmt.Errorf("cannot specify room id argument and config file at the same time") return } |