dcavalca / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

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

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