-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required fields are also shown as optional fields #78
Comments
Thanks for the detailed issue! The culprit is most likely in my parser code -- just an errant filter or something. I'll investigate tonight! Edit: FYI, in the mean time, if you need it to work right now, you could probably change the first two argument to be positional ones (e.g. get rid of the '-' in the name). Either way, will fix in a couple of hours. |
Ok thank you very much, I will try the new commit as soon as it's pushed :) This isn't a major issue for me, I tried the GUI and it's perfectly working, it's just that it may be a bit confusing to the end users. |
Fixed! I missed a |
Thank you very much, it works perfectly well now! |
Huzzah! |
I don't know why, but my required fields are also shown as optional fields. This is very weird as they are required, so they shouldn't be shown twice on the GUI.
Here is a screenshot:
And here is the code used for argparse:
The full code is available here, and you can try it by launching "python header_ecc.py --gui":
https://github.com/lrq3000/pyFileFixity/blob/master/header_ecc.py#L350
I couldn't find the culprit. Maybe the getter for optional fields also get the required fields?
The text was updated successfully, but these errors were encountered: