dcavalca / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

Blame SOURCES/0007-Fix-documentation-of-globs-not-supporting-curly-brackets.patch

862ba9
From f3c254581bcb0591a543aee0c7e031c3c9d0a9a1 Mon Sep 17 00:00:00 2001
862ba9
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hr=C3=A1zk=C3=BD?= <lhrazky@redhat.com>
862ba9
Date: Mon, 11 Jan 2021 16:43:25 +0100
862ba9
Subject: [PATCH] Fix documentation of globs not supporting curly brackets
862ba9
862ba9
= changelog =
862ba9
msg: Fix documentation of globs not supporting curly brackets
862ba9
type: bugfix
862ba9
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1913418
862ba9
---
862ba9
 doc/command_ref.rst | 6 ++++--
862ba9
 1 file changed, 4 insertions(+), 2 deletions(-)
862ba9
862ba9
diff --git a/doc/command_ref.rst b/doc/command_ref.rst
862ba9
index bbce3ddcf4..d11e8dd502 100644
862ba9
--- a/doc/command_ref.rst
862ba9
+++ b/doc/command_ref.rst
862ba9
@@ -1763,8 +1763,10 @@ The following patterns are supported:
862ba9
     those two characters, inclusive, is matched. If the first character
862ba9
     following the ``[`` is a ``!`` or a ``^`` then any character not enclosed
862ba9
     is matched.
862ba9
-``{}``
862ba9
-    Matches any of the comma separated list of enclosed strings.
862ba9
+
862ba9
+Note: Curly brackets (``{}``) are not supported. You can still use them in
862ba9
+shells that support them and let the shell do the expansion, but if quoted or
862ba9
+escaped, dnf will not expand them.
862ba9
 
862ba9
 --------------
862ba9
 NEVRA Matching