1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 11:35:26 +02:00

rpmspec: add --querytags example (#7209)

This commit is contained in:
Muhammad Falak R Wani 2021-11-06 16:57:28 +05:30 committed by GitHub
parent bfb791c43a
commit 06cddcfcbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,10 @@
`rpmspec --query {{path/to/rpm.spec}}`
- List all options for `--queryformat`:
`rpmspec --querytags`
- Get summary information for single binary packages generated from a rpm spec file:
`rpmspec --query --queryformat "{{%{name}: %{summary}\n}}" {{path/to/rpm.spec}}`