Commit 4441549
grep: stop using PARSE_OPT_NO_INTERNAL_HELP
The flag PARSE_OPT_NO_INTERNAL_HELP is set to allow overriding the
option -h, except when it's the only one given. This is the default
behavior now, so remove the flag and the hand-rolled --help-all
handling. The internal --help-all handler now actually shows hidden
options, i.e. --debug in this case.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Jeff King <peff@peff.net>1 parent 5ad0d3d commit 4441549
1 file changed
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | 615 | | |
621 | 616 | | |
622 | 617 | | |
| |||
738 | 733 | | |
739 | 734 | | |
740 | 735 | | |
741 | | - | |
742 | | - | |
743 | 736 | | |
744 | 737 | | |
745 | 738 | | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | 739 | | |
754 | 740 | | |
755 | 741 | | |
| |||
766 | 752 | | |
767 | 753 | | |
768 | 754 | | |
769 | | - | |
770 | | - | |
| 755 | + | |
771 | 756 | | |
772 | 757 | | |
773 | 758 | | |
| |||
0 commit comments