podman/hack
Ed Santiago ad7c54e13a man page checker: enforce stricter options format
Followup to #14906, in which a nonexistent option was found
in a man page. The xref script was designed to catch that,
but I was too lax in my parsing: the option was documented
using wrong syntax, and the script didn't catch it.

Solution: do not allow *any* unrecognized cruft in the
option description lines. And fix all improperly-written
entries to conform to the rule:

    **--option**=*value(s)*

Two asterisks around option, which must have two dashes. One
asterisk around value(s).

This is going to cause headaches for some people adding new
options, but I don't think I can fix that: there are many
factors that make an unparseable line. Adding 'hint' code
would make the script even more complex than it is. I have
to assume that our contributors are smart enough to look
at surrounding context and figure out the right way to
specify options.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-07-14 06:35:51 -06:00
..
podman-registry-go hack/test/utils: switch to golang native error wrapping 2022-07-05 12:13:33 +02:00
apparmor_tag.sh Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
bats hack/bats: fix broken usage message 2022-02-02 11:26:22 -07:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
btrfs_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
buildah-vendor-treadmill [CI:DOCS] Treadmill script: add --reset option 2022-05-12 13:14:04 -06:00
check_root.sh Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
get_ci_vm.sh Cirrus: Update images + new automation library 2022-05-10 10:49:32 -04:00
golangci-lint.sh golangci-lint: add systemd build tag 2022-06-14 15:28:45 +02:00
install_bats.sh Install bats as root 2020-09-18 12:50:25 -05:00
install_catatonit.sh cirrus: force-install catatonit 2021-11-15 12:53:25 +01:00
install_golangci.sh golangci install: explicitly set BINDIR 2022-07-05 15:59:32 -06:00
libdm_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
libsubid_tag.sh build: fix test for subid 4 2021-12-20 10:09:34 +01:00
make-and-check-size Fix size-check to display more context 2022-04-21 14:07:20 -04:00
man-page-checker Switch use of Flags to Options 2020-10-21 08:37:57 -04:00
parse-localbenchmarks [CI:DOCS] Benchmarks: new tool for parsing results 2022-05-11 11:44:17 -06:00
podman-commands.sh Add shell completion with cobra 2020-11-12 11:38:31 +01:00
podman-registry manifest_test: safer registry setup and teardown 2022-07-07 14:03:42 -06:00
podman-socat rename --cni-config-dir to --network-config-dir 2022-01-18 19:28:25 +01:00
podmanv2-retry Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
release.sh Remove changelog.txt from the repository 2021-09-07 10:53:26 -04:00
selinux_tag.sh Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
swagger-check Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
systemd_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
tree_status.sh Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
xref-helpmsgs-manpages man page checker: enforce stricter options format 2022-07-14 06:35:51 -06:00