We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846d2f8 commit f64272cCopy full SHA for f64272c
tools/check-manpage.sh
@@ -30,7 +30,7 @@ get_cmd_opts()
30
CMD_OPTNAMES=$(get_cmd_opts "$1" | sort)
31
32
# Now, gather (long) opt names from man page, make sure they match.
33
-MAN_OPTNAMES=$(sed -n 's/^\*\(--\)\?\([^*/]*\)\*\(=\?\).*::/\2\3/p' < "$2" | sort)
+MAN_OPTNAMES=$(sed -E -n 's/^\*(--)?([^*/]*)\*(=?).*::/\2\3/p' < "$2" | sort)
34
35
if [ "$CMD_OPTNAMES" != "$MAN_OPTNAMES" ]; then
36
echo "diff of command names vs manpage names":
0 commit comments