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 /bash/ostree | |
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 'bash/ostree')
-rw-r--r-- | bash/ostree | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/ostree b/bash/ostree index d7b54373..677aee7c 100644 --- a/bash/ostree +++ b/bash/ostree @@ -398,6 +398,7 @@ _ostree_config() { " local options_with_args=" + --group --repo " |