Request a small example of how to use getopt to accomplish the following:

[1] program subcommand //process subcommand with default arguments if any
[2] program -h subcommand //output help information about subcommand
[3] program subcommand --option1 --option2 true option3=log.txt // process subcommand with user specified options

Thanks,
Andrew

Reply via email to