man/config: Keep cmdsynopsis for GROUP.KEY version

It's nice to still show the previous usage since it's easier to type in
trivial cases like `core.mode`.

Closes: #1710
Approved by: sinnykumari
This commit is contained in:
Jonathan Lebon 2018-08-20 11:17:29 -04:00 committed by Atomic Bot
parent 4148918655
commit d786b9fd5f
1 changed files with 8 additions and 1 deletions

View File

@ -50,9 +50,15 @@ Boston, MA 02111-1307, USA.
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>ostree config get</command> <arg choice="req">SECTIONNAME.KEYNAME</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>ostree config get</command> <arg choice="req"> --group=GROUPNAME</arg> <arg choice="req"> KEYNAME</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>ostree config set</command> <arg choice="req">SECTIONNAME.KEYNAME</arg> <arg choice="req">VALUE</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>ostree config set</command> <arg choice="req"> --group=GROUPNAME</arg> <arg choice="req"> KEYNAME</arg> <arg choice="req">VALUE</arg>
</cmdsynopsis>
@ -68,7 +74,8 @@ Boston, MA 02111-1307, USA.
<refsect1>
<title>Example</title>
<para><command>$ ostree config get --group=core mode</command></para>
<para><command>$ ostree config get core.mode</command></para>
<para>bare</para>
<para><command>$ ostree config set --group='remote "myremote"' url http://example.com/repo</command></para>
</refsect1>
</refentry>