diff options
author | Thomas Moschny <thomas.moschny@gmx.de> | 2022-01-28 09:26:34 +0100 |
---|---|---|
committer | Michal Domonkos <mdomonko@redhat.com> | 2022-07-01 10:52:14 +0200 |
commit | 030f74db1ecfdcaf72c9152ecfd74ee7c96faff3 (patch) | |
tree | 7c1e53344b9701476845038a53ec90efc294e089 | |
parent | 4543b66f9ddbc61c760b45397bbbe1eaad2b21b3 (diff) | |
download | rpm-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.md | 4 |
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 |