guelfoweb/knock

plugin_test vs plugin-test

SirCussFreq opened this issue · 1 comments

just some inconsistency in the code, most places reference --plugin_test, but some say it should be --plugin-test.

e.g.

if_params["plugin_test']

vs

parser.add_argument("--plugin-test", ...

I think you just need to change add_argument to plugin_test, but I haven't tested it yet. (and update relevant documentation)

Dashes in argparse are converted to underscores (link)