diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-27 21:09:47 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-27 21:09:47 -0500 |
| commit | 15b09c5ad590b6c8662c7d55319235b917eeb597 (patch) | |
| tree | 81bd56d5bcecafb11aa740d247f6f402c0d4b7b4 /src/mkusage.pl | |
| parent | 0a1b08e58e1ef9a5d60295deb4bf158562718909 (diff) | |
| download | unalf-15b09c5ad590b6c8662c7d55319235b917eeb597.tar.gz | |
Fix usage messages.
Diffstat (limited to 'src/mkusage.pl')
| -rw-r--r-- | src/mkusage.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkusage.pl b/src/mkusage.pl index e2274c2..1c6a1bf 100644 --- a/src/mkusage.pl +++ b/src/mkusage.pl @@ -6,8 +6,8 @@ while(<>) { chomp; next if /^---/; last if /^\.\. ENFOPTS/; - if(/^-[-a-zA-Z\d]/) { - $opt = $_; + if(/^(?:\*\*)?(-[-a-zA-Z\d]+)/) { + $opt = $1; next; } if($opt && (/^\.\. (.*)$/)) { |
