From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 Description of problem: --usage has a weird preference on showing command line options. See attached test program. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Run the attached program. Actual Results: [misa@roadrunner py-popt]$ ./t --help Usage: t [OPTION...] --longonly Descrip -u, --longshort Descrip -v=INT Descrip -x Descrip Help options: -?, --help Show this help message --usage Display brief usage message [misa@roadrunner py-popt]$ ./t --usage Usage: t [--usage] [--longonly] [-v INT] Expected Results: --longshort and -x should have showed up in the usage too. Additional info: $ rpm -q popt popt-1.6.4-7x
Created attachment 51193 [details] Example source file that displays the odd behaviour of --usage
In popt-1.7-0.56, the test program should (now) display: Usage: t62234 [-?|--help] [--usage] [--longonly] [-u|--longshort] [-v INT] [-x]