]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/parse-options-negation-help'
authorJunio C Hamano <gitster@pobox.com>
Fri, 25 Aug 2023 17:37:37 +0000 (10:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Aug 2023 17:37:37 +0000 (10:37 -0700)
commit6d159f57570aec04ef23948b5f04ab36e89f5a79
tree0c5095f6fba5eebcb52913c750a488fe75f9c6eb
parentcd9da15a85bfbcb0bddc799e5fe6bed50644f269
parent311c8ff11cebef1219e110743d9a57cb9831ab06
Merge branch 'rs/parse-options-negation-help'

"git cmd -h" learned to signal which options can be negated by
listing such options like "--[no-]opt".

* rs/parse-options-negation-help:
  parse-options: simplify usage_padding()
  parse-options: no --[no-]no-...
  parse-options: factor out usage_indent() and usage_padding()
  parse-options: show negatability of options in short help
  t1502: test option negation
  t1502: move optionspec help output to a file
  t1502, docs: disallow --no-help
  subtree: disallow --no-{help,quiet,debug,branch,message}
parse-options.c