If your program does this, it's bad and you should feel bad:

Unknown option -h. Use --help for usage information.

Also bad:

Unknown option --help. Use -h instead
Use -help for help
Anything with -? or worse /?

Follow

@th In other words using getopt() would be considered bad?

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.