summaryrefslogtreecommitdiff
path: root/parse-options.c
Commit message (Expand)AuthorAgeFilesLines
* Use MOVE_ARRAYsg/cocci-move-arraySZEDER Gábor2018-01-221-1/+1
* parse-options: only insert newline in help text if neededbc/rev-parse-parseopt-fixBrandon Casey2017-09-251-2/+8
* parse-options: write blank line to correct output streamBrandon Casey2017-09-251-1/+1
* Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\
| * config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | C style: use standard style for "TRANSLATORS" commentsab/c-translators-comment-styleÆvar Arnfjörð Bjarmason2017-05-311-2/+4
|/
* prefix_filename: return newly allocated stringJeff King2017-03-211-1/+1
* prefix_filename: drop length parameterJeff King2017-03-211-1/+1
* parse-options: print "fatal:" before usage_msg_opt()jk/parseopt-usage-msg-optJeff King2016-12-141-1/+1
* parse-options.c: make OPTION_COUNTUP respect "unspecified" valuesPranit Bauva2016-05-051-0/+2
* parse-options: allow -h as a short optionRené Scharfe2015-11-201-5/+10
* parse-options: inline parse_options_usage() at its only remaining callerRené Scharfe2015-11-201-12/+1
* parse-options: deduplicate parse_options_usage() callsRené Scharfe2015-11-201-6/+12
* parse-options: move unsigned long option parsing out of pack-objects.ccb/parse-magnitudeCharles Bailey2015-06-221-0/+17
* Merge branch 'jc/parseopt-verify-short-name'Junio C Hamano2014-09-191-1/+13
|\
| * parse-options: detect attempt to add a duplicate short option namejc/parseopt-verify-short-nameJunio C Hamano2014-09-041-1/+13
* | refactor skip_prefix to return a booleanJeff King2014-06-201-7/+9
|/
* Merge branch 'mr/opt-set-ptr'Junio C Hamano2014-04-081-5/+0
|\
| * parse-options: remove unused OPT_SET_PTRmr/opt-set-ptrMarat Radchenko2014-03-311-5/+0
* | parse-options: make sure argh string does not have SP or _Junio C Hamano2014-03-241-0/+3
* | use strchrnul() in place of strchr() and strlen()rm/strchrnul-not-strlenRohit Mani2014-03-101-4/+1
|/
* replace {pre,suf}fixcmp() with {starts,ends}_with()cc/starts-n-ends-withChristian Couder2013-12-051-6/+6
* parse-options: add OPT_CMDMODE()Junio C Hamano2013-07-301-5/+53
* Merge branch 'ef/non-ascii-parse-options-error-diag'Junio C Hamano2013-02-141-1/+4
|\
| * parse-options: report uncorrupted multi-byte optionsErik Faye-Lund2013-02-111-1/+4
* | Merge branch 'jx/utf8-printf-width'Junio C Hamano2013-02-141-2/+3
|\ \
| * | Add utf8_fprintf helper that returns correct number of columnsJiang Xin2013-02-111-2/+3
| |/
* | silence some -Wuninitialized false positivesJeff King2012-12-151-9/+9
|/
* git on Mac OS and precomposed unicodeTorsten Bögershausen2012-07-081-0/+1
* i18n: parseopt: lookup help and argument translations when showing usageNguyễn Thái Ngọc Duy2012-05-081-8/+11
* parse-options: typo check for unknown switchesRené Scharfe2012-03-041-0/+2
* parse-options: remove PARSE_OPT_NEGHELPrs/no-no-no-parseoptRené Scharfe2012-02-281-4/+2
* parse-options: allow positivation of options starting, with no-René Scharfe2012-02-261-10/+17
* parse-options: deprecate OPT_BOOLEANJunio C Hamano2011-09-271-2/+2
* Reduce parse-options.o dependenciesDmitry Ivankov2011-08-111-121/+0
* parse-options: export opterr, optbugDmitry Ivankov2011-08-111-2/+2
* parse-options: add OPT_STRING_LIST helperJeff King2011-06-221-0/+17
* Fix sparse warningsStephen Boyd2011-03-221-2/+2
* parse-options: make resuming easier after PARSE_OPT_STOP_AT_NON_OPTIONJonathan Nieder2010-12-071-1/+2
* parse-options: allow git commands to invent new option typesJonathan Nieder2010-12-071-0/+3
* parse-options: never suppress arghelp if LITERAL_ARGHELP is setJonathan Nieder2010-12-071-1/+2
* parse-options: do not infer PARSE_OPT_NOARG from option typeStephen Boyd2010-12-071-17/+2
* parse-options: sanity check PARSE_OPT_NOARG flagJonathan Nieder2010-12-071-0/+13
* parse-options: move NODASH sanity checks to parse_options_checkJonathan Nieder2010-12-071-7/+7
* parse-options: clearer reporting of API misuseJonathan Nieder2010-12-071-12/+11
* parse-options: Don't call parse_options_check() so muchStephen Boyd2010-12-061-4/+3
* parseopt: wrap rev-parse --parseopt usage for eval consumptionThomas Rast2010-06-131-14/+24
* print the usage string on stdout instead of stderrGiuseppe Scrivano2010-05-311-31/+33
* parse-options: add parse_options_concat() to concat optionsJunio C Hamano2010-03-061-0/+15
* Add an optional argument for --color optionsMark Lodato2010-02-181-0/+16