fix #2: if database is specified, and file isn't, optimist complains