Module bdrck_params::parse_and_execute [] [src]

Functions

parse_and_execute

This function parses the given program parameters and calls the given command's callback. It prints out usage information if the parameters are invalid, and returns a reasonable exit code for the process.

parse_and_execute_command

This function parses the given program parameters, and calls the appropriate command callback. It prints out usage information if the parameters are invalid, and returns a reasonable exit code for the process.