The `OPT_GROUP()` macro can be used to create a new group. These groups can only be used to group options though, they do not have any effect when used in combination with subcommands. As our use of subcommands grows though it can be quite useful to group these, as well. Extend `OPT_SUBCOMMAND_F()` to take an optional help string. If given, such subcommands will be considered as part of `OPT_GROUP()` and printed with that help string. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| api-error-handling.adoc | ||
| api-index-skel.adoc | ||
| api-index.sh | ||
| api-merge.adoc | ||
| api-parse-options.adoc | ||
| api-path-walk.adoc | ||
| api-simple-ipc.adoc | ||
| api-trace2.adoc | ||
| bitmap-format.adoc | ||
| build-systems.adoc | ||
| bundle-uri.adoc | ||
| commit-graph.adoc | ||
| directory-rename-detection.adoc | ||
| hash-function-transition.adoc | ||
| large-object-promisors.adoc | ||
| long-running-process-protocol.adoc | ||
| meson.build | ||
| multi-pack-index.adoc | ||
| pack-heuristics.adoc | ||
| packfile-uri.adoc | ||
| paint-down-to-common.adoc | ||
| parallel-checkout.adoc | ||
| partial-clone.adoc | ||
| platform-support.adoc | ||
| racy-git.adoc | ||
| reftable.adoc | ||
| remembering-renames.adoc | ||
| repository-version.adoc | ||
| rerere.adoc | ||
| scalar.adoc | ||
| send-pack-pipeline.adoc | ||
| shallow.adoc | ||
| sparse-checkout.adoc | ||
| sparse-index.adoc | ||
| trivial-merge.adoc | ||
| unambiguous-types.adoc | ||
| unit-tests.adoc | ||