<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/cli/cmd_help.c, branch ethomson/objectformat</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>cli: support `help &lt;command&gt;`</title>
<updated>2022-02-26T19:43:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-26T22:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f8e7d8fdde563df6c9351296b6330bb8cc859066'/>
<id>f8e7d8fdde563df6c9351296b6330bb8cc859066</id>
<content type='text'>
Support `help &lt;command&gt;` by re-invoking the command itself with the
`--help` argument.  This allows us to keep the help logic with the
commands itself.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support `help &lt;command&gt;` by re-invoking the command itself with the
`--help` argument.  This allows us to keep the help logic with the
commands itself.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: introduce a help command</title>
<updated>2022-02-26T19:43:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-02-23T11:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c6dd82d9f14e9e24a52af637c4a56218ead13eda'/>
<id>c6dd82d9f14e9e24a52af637c4a56218ead13eda</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
