diff options
author | Sinny Kumari <sinny@redhat.com> | 2018-08-17 21:25:56 +0530 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-20 14:31:15 +0000 |
commit | dde3f1c0fb4d33c50968159a5843821c976f0c49 (patch) | |
tree | 8c23bb79cffdf4d92baaef91342c523c4526f967 /man/ostree-config.xml | |
parent | e7305bbc8a262d595c7d1c507be7fba0e5a88d06 (diff) | |
download | ostree-dde3f1c0fb4d33c50968159a5843821c976f0c49.tar.gz |
src/ostree: Add --group option to ostree config
Fetching value from a repo config using 'ostree config
get SECTIONNAME.KEYNAME' didn't work in some cases like
when having dots in Group Name entry.
As per Desktop entry file specification, Group Name
may contain all ASCII characters except for [ and ]
and control characters.
Link - https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html
Having --group option will help user to clearly specify
Group Name and get desired result.
It also adds test for ostree config get|set and bash
completion for --group option
Fixes https://github.com/ostreedev/ostree/issues/1565
Closes: #1696
Approved by: cgwalters
Diffstat (limited to 'man/ostree-config.xml')
-rw-r--r-- | man/ostree-config.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/ostree-config.xml b/man/ostree-config.xml index f1232602..f052aebb 100644 --- a/man/ostree-config.xml +++ b/man/ostree-config.xml @@ -51,10 +51,10 @@ Boston, MA 02111-1307, USA. <refsynopsisdiv> <cmdsynopsis> - <command>ostree config get</command> <arg choice="req">SECTIONNAME.KEYNAME</arg> + <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> + <command>ostree config set</command> <arg choice="req"> --group=GROUPNAME</arg> <arg choice="req"> KEYNAME</arg> <arg choice="req">VALUE</arg> </cmdsynopsis> </refsynopsisdiv> @@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. <refsect1> <title>Example</title> - <para><command>$ ostree config get core.mode</command></para> + <para><command>$ ostree config get --group=core mode</command></para> <para>bare</para> </refsect1> </refentry> |