| 1 |  | /* | 
| 2 | < | File autogenerated by gengetopt version 2.15 | 
| 2 | > | File autogenerated by gengetopt version 2.16 | 
| 3 |  | generated with the following command: | 
| 4 | < | gengetopt --file-name=randomBuilderCmd --unamed-opts | 
| 4 | > | gengetopt -F randomBuilderCmd --unamed-opts | 
| 5 |  |  | 
| 6 |  | The developers of gengetopt consider the fixed text that goes in all | 
| 7 |  | gengetopt output files to be in the public domain: | 
| 82 |  | cmdline_parser_print_help (void) | 
| 83 |  | { | 
| 84 |  | cmdline_parser_print_version (); | 
| 85 | < | printf("\nUsage: simpleBuilder [OPTIONS]... [FILES]...\n\n"); | 
| 85 | > | printf("\nUsage: randomBuilder [OPTIONS]... [FILES]...\n\n"); | 
| 86 |  | printf("%s\n","  -h, --help                Print help and exit"); | 
| 87 |  | printf("%s\n","  -V, --version             Print version and exit"); | 
| 88 |  | printf("%s\n","  -o, --output=STRING       Output file name"); | 
| 360 |  | { | 
| 361 |  | int error = 0; | 
| 362 |  |  | 
| 363 | + | if (! args_info->output_given) | 
| 364 | + | { | 
| 365 | + | fprintf (stderr, "%s: '--output' ('-o') option required%s\n", prog_name, (additional_error ? additional_error : "")); | 
| 366 | + | error = 1; | 
| 367 | + | } | 
| 368 |  | if (! args_info->density_given) | 
| 369 |  | { | 
| 370 |  | fprintf (stderr, "%s: '--density' option required%s\n", prog_name, (additional_error ? additional_error : "")); | 
| 407 |  | cmdline_parser_init (&local_args_info); | 
| 408 |  |  | 
| 409 |  | optarg = 0; | 
| 410 | < | optind = 1; | 
| 410 | > | optind = 0; | 
| 411 |  | opterr = 1; | 
| 412 |  | optopt = '?'; | 
| 413 |  |  |