Branch
- branch - main kmx/main origin/HEAD origin/bindings/libgit2sharp/022_1 origin/brianmario/attr-from-tree origin/brianmario/revwalk-filter origin/brianmario/trailer-info origin/brianmario/trailer-list origin/ci origin/cmn/atexit-skeleton origin/cmn/cancellation origin/cmn/commit-on origin/cmn/ctest-jobs origin/cmn/delta-base-eviction origin/cmn/diff-binary-patch origin/cmn/dynamic-libssh2 origin/cmn/example-pull origin/cmn/forbid-mutiurl origin/cmn/init-ssh origin/cmn/io-stream-backends origin/cmn/leaks origin/cmn/parallel-clar origin/cmn/pcre2 origin/cmn/read-only-size origin/cmn/remote-options origin/cmn/repo-v1 origin/cmn/reset-dont-free-url origin/cmn/server origin/cmn/sortedcache-close origin/cmn/tmp origin/cmn/tree-parser-sort-input origin/cmn/warnings origin/csware/system_proxy origin/development origin/diff-fails-with-cpp-file origin/enterprise/backport-2.6-4136-4178 origin/enterprise/backport-2.7-4136-4178 origin/enterprise/backport-2.8-4136-4178 origin/enterprise/backport-2.9-4136-4178 origin/ethomson/027 origin/ethomson/checkout_conflict_respect_index origin/ethomson/checkout_safety origin/ethomson/ci_test_results origin/ethomson/cli origin/ethomson/cli_cmd_clone origin/ethomson/cmake origin/ethomson/cmake2 origin/ethomson/cmake4 origin/ethomson/cmake5 origin/ethomson/cmake6 origin/ethomson/codespaces origin/ethomson/diff_fail origin/ethomson/diff_regexp_ignore origin/ethomson/docs origin/ethomson/filter_driver_git_buf origin/ethomson/find_executable origin/ethomson/fix-stale-filesize-crash origin/ethomson/follow_redirects origin/ethomson/future origin/ethomson/init-bak origin/ethomson/is_and_from origin/ethomson/links origin/ethomson/middleware origin/ethomson/nightlies origin/ethomson/no_qemu origin/ethomson/ntlm origin/ethomson/off_t_bak origin/ethomson/oid_cleanups origin/ethomson/oidmadness origin/ethomson/path_validation origin/ethomson/prng2 origin/ethomson/racy-diff origin/ethomson/reference_cmp origin/ethomson/sha256_experimental origin/ethomson/sha256_loose origin/ethomson/sha256_pack origin/ethomson/sha256_raw origin/ethomson/ssl_proxy origin/ethomson/ssl_refactor origin/ethomson/stream-truncated-writes origin/ethomson/test_https origin/ethomson/test_urls_with_spaces origin/ethomson/tlsdata_fail origin/ethomson/url_parse origin/ethomson/util origin/ethomson/util2 origin/ethomson/util3 origin/ethomson/util4 origin/ethomson/util5 origin/ethomson/util_as_a_directory origin/ethomson/winauth origin/gh-pages origin/jss/fix-ignore-pop origin/main origin/maint/v0.21 origin/maint/v0.22 origin/maint/v0.23 origin/maint/v0.24 origin/maint/v0.25 origin/maint/v0.26 origin/maint/v0.27 origin/maint/v0.28 origin/maint/v0.99 origin/maint/v1.0 origin/maint/v1.1 origin/maint/v1.2 origin/maint/v1.3 origin/maint/v1.4 origin/maint/v1.5 origin/pks-cmake-targets origin/precompose-test origin/rb/commit-modified-file origin/rb/object-parse-flexibility origin/rb/test-builtin-drivers origin/rb/warnings-for-commit-headers origin/users/ethomson/cmake2 origin/vmg/read-types origin/vmg/repo-format-1
Log
Author
Commit
Date
CI
Message
f8e7d8fd
2021-11-26T17:33:38
cli: support `help <command>`
Support `help <command>` by re-invoking the command itself with the
`--help` argument. This allows us to keep the help logic with the
commands itself.
c6dd82d9
2020-02-23T11:54:33
cli: introduce a help command
Add a framework for commands to be defined, and add our first one,
"help". When `git2_cli help` is run, the `cmd_help` function will be
invoked with the remaining command line arguments. This allows users to
invoke `git2_cli help foo` to get information about the `foo` subcommand.