spider_scheduler
and spider_worker
don't print CLI usage info
#51
Labels
bug
Something isn't working
spider_scheduler
and spider_worker
don't print CLI usage info
#51
Bug
Usually, executing a CLI command without arguments or with the
--help
flag will print usage instructions. This is not the case forspider_scheduler
andspider_worker
meaning users have to either read the docs or the code to figure out how to use the tools appropriately.In addition, any unknown arguments or missing values results in an uncaught exception.
We're already using
boost::program_options
, so we should improve the code to utilize its ability to handle the--help
flag and catch parsing exceptions appropriately.Spider version
e7f7c48
Environment
Ubuntu 24.04
Reproduction steps
The text was updated successfully, but these errors were encountered: