Commit fa1486d4 authored by Sriram Karra's avatar Sriram Karra

Fix error message when folder is not specified with show-folder op

Fixes: https://github.com/skarra/ASynK/issues/84
parent 67a51c1e
......@@ -152,8 +152,9 @@ class Asynk:
dbid = coll.get_dbid()
fid = coll.get_fid()
## FIXME: These ParserErrors do not really belong in this file.
if not fid and not ('bb' == dbid):
raise AsynkParserError('--show-folder needs a --folder-id option')
raise AsynkParserError('--show-folder needs a --folder option')
self._login()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment