Thomas Passin wrote:
Are you trying to troll here?
You just showed how you got an error with this construction, so why are you
asking how to
get an error with this construction?
I meant (obviously), another error-message besides:
error: unrecognized arguments: -cn
Perhaps from 'parser.add_argument ("-c, --clean", dest="clean",
action="store_true")'
error: "-c, --clean", 2 options are unsupported.
BTW, accusing someone of 'trolling' is rather rude IMHO.
And thanks to ChrisA for a nice and normal answer.
--
--gv
--
https://mail.python.org/mailman/listinfo/python-list