| 528 | } |
| 529 | |
| 530 | int |
| 531 | main (int argc, char **argv) |
| 532 | { |
| 533 | initialize_main (&argc, &argv); |
| 534 | set_program_name (argv[0]); |
| 535 | setlocale (LC_ALL, ""); |
| 536 | bindtextdomain (PACKAGE, LOCALEDIR); |
| 537 | textdomain (PACKAGE); |
| 538 | |
| 539 | atexit (close_stdout); |
| 540 | |
| 541 | int optc; |
| 542 | while ((optc = getopt_long (argc, argv, "sfwiqbhlp", longopts, NULL)) |
| 543 | != -1) |
| 544 | { |
| 545 | switch (optc) |
| 546 | { |
| 547 | case 's': |
| 548 | do_short_format = true; |
| 549 | break; |
| 550 | |
| 551 | case 'l': |
| 552 | do_short_format = false; |
| 553 | break; |
| 554 | |
| 555 | case 'f': |
| 556 | include_heading = false; |
| 557 | break; |
| 558 | |
| 559 | case 'w': |
| 560 | include_fullname = false; |
| 561 | break; |
| 562 | |
| 563 | case 'i': |
| 564 | include_fullname = false; |
| 565 | #ifdef HAVE_STRUCT_XTMP_UT_HOST |
| 566 | include_where = false; |
| 567 | #endif |
| 568 | break; |
| 569 | |
| 570 | case 'q': |
| 571 | include_fullname = false; |
| 572 | #ifdef HAVE_STRUCT_XTMP_UT_HOST |
| 573 | include_where = false; |
| 574 | #endif |
| 575 | include_idle = false; |
| 576 | break; |
| 577 | |
| 578 | case 'h': |
| 579 | include_project = false; |
| 580 | break; |
| 581 | |
| 582 | case 'p': |
| 583 | include_plan = false; |
| 584 | break; |
| 585 | |
| 586 | case 'b': |
| 587 | include_home_and_shell = false; |
nothing calls this directly
no test coverage detected