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
This commit is contained in:
1 parent
e7305bbc8a
commit
dde3f1c0fb
5 files changed
+110
-24
No files matched your search
@@ -398,6 +398,7 @@ _ostree_config() {
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--group
|
||||
--repo
|
||||
"
|
||||
|
||||
|
||||
Reference in new issue
Block a user