summaryrefslogtreecommitdiff
path: root/parse-options.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'pb/am-show-current-patch'Junio C Hamano2020-03-091-11/+9
|\
| * parse-options: convert "command mode" to a flagPaolo Bonzini2020-02-201-11/+9
* | Merge branch 'jb/parse-options-message-fix'Junio C Hamano2020-02-121-2/+2
|\ \
| * | parse-options: lose an unnecessary space in an error messageJacques Bodin-Hullin2020-02-051-2/+2
| |/
* | C: use skip_prefix() to avoid hardcoded string lengthJunio C Hamano2020-01-311-2/+1
|/
* Fix spelling errors in code commentsElijah Newren2019-11-101-1/+1
* parse-options: allow --end-of-options as a synonym for "--"Jeff King2019-08-061-1/+2
* Merge branch 'nd/diff-parseopt'Junio C Hamano2019-05-301-0/+3
|\
| * parse-options: check empty value in OPT_INTEGER and OPT_ABBREVNguyễn Thái Ngọc Duy2019-05-291-0/+3
* | parse-options: don't emit "ambiguous option" for aliasesNguyễn Thái Ngọc Duy2019-05-071-6/+137
* | Merge branch 'js/difftool-no-index'Junio C Hamano2019-04-251-0/+2
|\ \
| * | parse-options: make OPT_ARGUMENT() more usefulJohannes Schindelin2019-03-181-0/+2
| |/
* | Merge branch 'jk/unused-params-even-more'Junio C Hamano2019-04-251-3/+2
|\ \
| * | parse-options: drop unused ctx parameter from show_gitcomp()Jeff King2019-03-201-3/+2
| |/
* | tests: disallow the use of abbreviated options (by default)Johannes Schindelin2019-04-151-0/+9
|/
* parse-options: allow ll_callback with OPTION_CALLBACKNguyễn Thái Ngọc Duy2019-01-271-14/+28
* parse-options: avoid magic return codesNguyễn Thái Ngọc Duy2019-01-271-24/+45
* parse-options: stop abusing 'callback' for lowlevel callbacksNguyễn Thái Ngọc Duy2019-01-271-1/+14
* parse-options: add OPT_BITOP()Nguyễn Thái Ngọc Duy2019-01-271-0/+7
* parse-options: disable option abbreviation with PARSE_OPT_KEEP_UNKNOWNNguyễn Thái Ngọc Duy2019-01-271-1/+2
* parse-options: add one-shot modeNguyễn Thái Ngọc Duy2019-01-271-4/+22
* Merge branch 'nd/indentation-fix'Junio C Hamano2019-01-141-1/+1
|\
| * Indent code with TABsNguyễn Thái Ngọc Duy2018-12-091-1/+1
* | Merge branch 'nd/i18n'Junio C Hamano2019-01-041-29/+35
|\ \
| * | parse-options.c: mark more strings for translationNguyễn Thái Ngọc Duy2018-11-121-7/+7
| * | parse-options.c: turn some die() to BUG()Nguyễn Thái Ngọc Duy2018-11-121-2/+2
| * | parse-options: replace opterror() with optname()Nguyễn Thái Ngọc Duy2018-11-121-20/+26
| |/
* | Merge branch 'nd/show-gitcomp-compilation-fix' into maintJunio C Hamano2018-12-151-1/+3
|\ \ | |/ |/|
| * parse-options: fix SunCC compiler warningNguyễn Thái Ngọc Duy2018-12-121-1/+3
* | Merge branch 'rs/parse-opt-lithelp'Junio C Hamano2018-08-171-1/+2
|\ \ | |/ |/|
| * parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELPRené Scharfe2018-08-031-1/+2
* | completion: collapse extra --no-.. optionsNguyễn Thái Ngọc Duy2018-06-111-18/+54
* | parse-options: option to let --git-completion-helper show negative formNguyễn Thái Ngọc Duy2018-05-291-4/+18
* | Merge branch 'ps/contains-id-error-message'Junio C Hamano2018-04-101-9/+11
|\ \
| * | parse-options: do not show usage upon invalid option valueps/contains-id-error-messagePaul-Sebastian Ungureanu2018-03-221-9/+11
| |/
* | Merge branch 'nd/parseopt-completion'Junio C Hamano2018-03-141-0/+46
|\ \
| * | remote: force completing --mirror= instead of --mirrorNguyễn Thái Ngọc Duy2018-02-091-0/+2
| * | parse-options: support --git-completion-helperNguyễn Thái Ngọc Duy2018-02-091-0/+44
| |/
* | 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