// file: fbc_check_0.C // #include "fbc.h" // define the command line options #define HELP_COMMAND "more ./fbc_process_data.help" #define HELP_OPTION "-help" //----------------------------------------------------------------------------- // function: fbc_check_0_C // // arguments: // int argc: (input) number of command line arguments // char** argv: (input) command line arguments // // returns: // L_TRUE if no help option is specified // exits after displaying a help message otherwise // // checks whether a help option was specified //----------------------------------------------------------------------------- int fbc_check_0_C(int argc, char** argv) { // declare local variables // int arg_index = 0; // check if a help option was specified on the command line // loop over all arguments and all options for (arg_index=0; arg_index