summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Moschny <thomas.moschny@gmx.de>2022-01-28 09:26:34 +0100
committerMichal Domonkos <mdomonko@redhat.com>2022-07-01 10:52:14 +0200
commit030f74db1ecfdcaf72c9152ecfd74ee7c96faff3 (patch)
tree7c1e53344b9701476845038a53ec90efc294e089
parent4543b66f9ddbc61c760b45397bbbe1eaad2b21b3 (diff)
downloadrpm-030f74db1ecfdcaf72c9152ecfd74ee7c96faff3.tar.gz
Explicitly state that \0 is not supported in queryformat strings. (#1904)
* Explicitly state that \0 is not supported in queryformat strings. Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de> Co-authored-by: Florian Festi <ffesti@redhat.com> (cherry picked from commit e53b7e20085297e4877e8936953cb1869452ab25)
-rw-r--r--docs/man/rpm.8.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/rpm.8.md b/docs/man/rpm.8.md
index e0cc97353..a643964ef 100644
--- a/docs/man/rpm.8.md
+++ b/docs/man/rpm.8.md
@@ -473,8 +473,8 @@ in. To do this, you use the
option, followed by the *QUERYFMT* format string. Query formats are
modified versions of the standard **printf(3)** formatting. The format
is made up of static strings (which may include standard C character
-escapes for newlines, tabs, and other special characters) and
-**printf(3)** type formatters. As **rpm** already knows the type to
+escapes for newlines, tabs, and other special characters (not including \0))
+and **printf(3)** type formatters. As **rpm** already knows the type to
print, the type specifier must be omitted however, and replaced by the
name of the header tag to be printed, enclosed by **{}** characters. Tag
names are case insensitive, and the leading **RPMTAG\_** portion of the