LandGrey / pydictor

A powerful and useful hacker dictionary builder for a brute-force attack
https://github.com/LandGrey/pydictor
GNU General Public License v3.0
3.22k stars 630 forks source link

Head or tail cannot start with "-" #27

Closed xfl03 closed 3 years ago

xfl03 commented 3 years ago

e.g. --tail -example After using this argument, following error will be shown:

pydictor: error: argument --tail: expected one argument

It looks like -example has been recongnized as a option, but it should be the vaule.

LandGrey commented 3 years ago

e.g. --tail -example After using this argument, following error will be shown:

pydictor: error: argument --tail: expected one argument

It looks like -example has been recongnized as a option, but it should be the vaule.

Thank you for your program using feedback.

That's python argparse module features.

you can use --tail=-example options to avert it.