95 Commits (563d4e59bd167fe2eecc5480e3841d878b1c8c2b)

Author SHA1 Message Date
Junio C Hamano af465af8de parse-options: detect attempt to add a duplicate short option name 10 years ago
Jeff King cf4fff579e refactor skip_prefix to return a boolean 11 years ago
Marat Radchenko 20d1c6528c parse-options: remove unused OPT_SET_PTR 11 years ago
Junio C Hamano b6c2a0d45d parse-options: make sure argh string does not have SP or _ 11 years ago
Rohit Mani 2c5495f7b6 use strchrnul() in place of strchr() and strlen() 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Junio C Hamano 1158826394 parse-options: add OPT_CMDMODE() 12 years ago
Erik Faye-Lund b141a47801 parse-options: report uncorrupted multi-byte options 12 years ago
Jiang Xin c082196575 Add utf8_fprintf helper that returns correct number of columns 12 years ago
Jeff King a469a10193 silence some -Wuninitialized false positives 12 years ago
Torsten Bögershausen 76759c7dff git on Mac OS and precomposed unicode 13 years ago
Nguyễn Thái Ngọc Duy 54e6dc7daf i18n: parseopt: lookup help and argument translations when showing usage 13 years ago
René Scharfe 38916c5b47 parse-options: typo check for unknown switches 13 years ago
René Scharfe cbb08c2e0b parse-options: remove PARSE_OPT_NEGHELP 13 years ago
René Scharfe 0f1930c587 parse-options: allow positivation of options starting, with no- 13 years ago
Junio C Hamano b04ba2bb42 parse-options: deprecate OPT_BOOLEAN 13 years ago
Jeff King e269eb7946 git_config_colorbool: refactor stdout_is_tty handling 14 years ago
Dmitry Ivankov 0687628466 Reduce parse-options.o dependencies 14 years ago
Dmitry Ivankov 1f275b7c4c parse-options: export opterr, optbug 14 years ago
Jeff King c8ba163916 parse-options: add OPT_STRING_LIST helper 14 years ago
Stephen Boyd c2e86addb8 Fix sparse warnings 14 years ago
Jonathan Nieder 979240fee3 parse-options: make resuming easier after PARSE_OPT_STOP_AT_NON_OPTION 14 years ago
Jonathan Nieder b0b3a8b666 parse-options: allow git commands to invent new option types 14 years ago
Jonathan Nieder b57c68a69e parse-options: never suppress arghelp if LITERAL_ARGHELP is set 14 years ago
Stephen Boyd c1f4ec9ef4 parse-options: do not infer PARSE_OPT_NOARG from option type 14 years ago
Jonathan Nieder 5c400ed2e0 parse-options: sanity check PARSE_OPT_NOARG flag 14 years ago
Jonathan Nieder a02dd4ff7d parse-options: move NODASH sanity checks to parse_options_check 14 years ago
Jonathan Nieder 1e5ce570ca parse-options: clearer reporting of API misuse 14 years ago
Stephen Boyd 9ca1169fd9 parse-options: Don't call parse_options_check() so much 14 years ago
Thomas Rast 47e9cd28f8 parseopt: wrap rev-parse --parseopt usage for eval consumption 15 years ago
Giuseppe Scrivano 9c7304e3e3 print the usage string on stdout instead of stderr 15 years ago
Junio C Hamano 8b74d75cd2 parse-options: add parse_options_concat() to concat options 15 years ago
Mark Lodato 73e9da0196 Add an optional argument for --color options 15 years ago
Junio C Hamano 41064ebc49 parse-options.c: mark file-local function static 15 years ago
Junio C Hamano cb6020bb01 Teach --[no-]rerere-autoupdate option to merge, revert and friends 15 years ago
Andreas Schwab 6bbfd1fa98 parse-opt: ignore negation of OPT_NONEG for ambiguity checks 15 years ago
Johannes Schindelin 86b5efb286 parse-opt: optionally show "--no-" option string 16 years ago
Linus Torvalds 2af202be3d Fix various sparse warnings in the git source code 16 years ago
Pierre Habouzit cb9d398c35 parse-options: add parse_options_check to validate option specs. 16 years ago
Stephen Boyd 34aec9f573 parse-options: simplify usage argh handling 16 years ago
Stephen Boyd e3a0ca8784 parse-options: make OPT_INTEGER's argh explicit 16 years ago
Christian Couder 451bb210f8 parse-options: add new function "usage_msg_opt" 16 years ago
Stephen Boyd df217ed643 parse-opts: add OPT_FILENAME and transition builtins 16 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
Stephen Boyd 29f25d493c parse-options: add PARSE_OPT_LITERAL_ARGHELP for complicated argh's 16 years ago
René Scharfe 51a9949eda parseopt: add PARSE_OPT_NODASH 16 years ago
René Scharfe e0319ff5ed parseopt: add OPT_NUMBER_CALLBACK 16 years ago
René Scharfe 2f4b97f910 parseopt: add OPT_NEGBIT 16 years ago
René Scharfe 0d260f9a09 parseopt: prevent KEEP_UNKNOWN and STOP_AT_NON_OPTION from being used together 16 years ago
René Scharfe 49b6180252 parseopt: make usage optional 16 years ago