How can I pass arguments to a console program? Something like: progname -a