Print getopt warnings *after* options summary before exiting #269

Closed
dmiller-nmap opened this Issue Jan 7, 2016 · 1 comment

Projects

None yet

2 participants

@dmiller-nmap

Options summary is so long that users have to scroll up to see what went wrong if they mess up the options. Either don't print it or print it before the getopt warning so the warning is clearly visible.

@notul-atul

I am beginner here and I wants to start by implementing above enhancement.
First I want to show warning message to user and then ask user to Press Enter to simply exit or Press any other key to see options summary. Is this fine or should I stick to directions mentioned here?

@notul-atul notul-atul added a commit to notul-atul/nmap that referenced this issue Jan 25, 2016
@notul-atul notul-atul Options summary removed after getopt warning, Issue #269
Signed-off-by: Atul Shree <notul.atul@hotmail.com>
5fff9b2
@notul-atul notul-atul added a commit to notul-atul/nmap that referenced this issue Jan 25, 2016
@notul-atul notul-atul Options summary removed after getopt warning, Issue #269
Signed-off-by: Atul Shree <notul.atul@hotmail.com>
7ff7f18
@nmap-bot nmap-bot closed this in 7471125 Jan 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment