3
31337one
Hello everyone,
I am writing an application that uses a command line interface. It will
be configurable by passing arguments on the command line. The program
is going to run in windows and linux.
I was wondering what most linux/windows tools use to parse arguments.
Example: ls -a or ls --help
I need to support both short ( -a ) and long ( --help ) versions of the
commands. If I had to choose though, I would prefer long versions as
they are easier to remember.
I have looked at Getopt but to be honest, im not impressed. It appears
to only do short options and isnt even included in Visual Studio.
Thanks for your help.
I am writing an application that uses a command line interface. It will
be configurable by passing arguments on the command line. The program
is going to run in windows and linux.
I was wondering what most linux/windows tools use to parse arguments.
Example: ls -a or ls --help
I need to support both short ( -a ) and long ( --help ) versions of the
commands. If I had to choose though, I would prefer long versions as
they are easier to remember.
I have looked at Getopt but to be honest, im not impressed. It appears
to only do short options and isnt even included in Visual Studio.
Thanks for your help.