I believe he's asking about passing command line arguments to his program rather than using his program to call a command-line function.

As copeg stated, what problem are you running into?
...