summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.c
AgeCommit message (Expand)Author
2015-10-01Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In onePhilip Guenther
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themPhilip Guenther
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedPhilip Guenther
2013-06-08Fix parsing of ambiguous options, the whole loop must be processed.Todd C. Miller
2011-03-05Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a newPhilip Guenthe
2010-07-22getopt_long.c replaced getopt.c 6+ years ago; we can retireBret Lambert
2007-10-31Add parentheses to avoid warning:Charles Longeau
2006-10-04from wiz@netbsd:Jason McIntyre
2006-09-22Back out change in rev 1.15 of to allow whitespace to separate aTodd C. Miller
2005-10-25dont' -> don't in comments;Jason McIntyre
2005-08-08zap remaining rcsid.Marc Espie
2005-03-30ansi + de-registerPatrick Latifi
2004-06-03An optional argument cannot start with '-', even if permutation isTodd C. Miller
2004-02-04Traditionally, getopt(3) has treated "--foo" the same as "--". However,Todd C. Miller
2003-09-22If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECTTodd C. Miller
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02Use the getopt() in getopt_long.c which supports some GNU extensions.Todd C. Miller
2002-12-10When doing permutation, only treat "-" as an option if it was specifiedTodd C. Miller
2002-12-08SUS (and apparently 1003.1-2001) say to check optstring for NULLTodd C. Miller
2002-12-08If we are passed "-" in argv and the user didn't specify '-' in optstring,Todd C. Miller
2002-12-08BSD getopt() supports '-' in the optstring so we should too.Todd C. Miller
2002-12-07Fix pasto in last commit.Todd C. Miller
2002-12-07For getopt_long_only() we *do* want to match single-character optionsTodd C. Miller
2002-12-06Fix two compatibility issues with our getopt_long_only() vs. the GNU version:Todd C. Miller
2002-12-05Correctly handle -Wlong_arg (no space between -W and long_arg) when "W;"Todd C. Miller
2002-12-05Reorganize this so that getopt_only_only() works correctly.Todd C. Miller
2002-12-03Whoops, add missing #ifdef REPLACE_GETOPTTodd C. Miller
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller