aboutsummaryrefslogtreecommitdiff
path: root/mkusage.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mkusage.pl')
-rw-r--r--mkusage.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkusage.pl b/mkusage.pl
index 0506d8c..446beab 100644
--- a/mkusage.pl
+++ b/mkusage.pl
@@ -4,7 +4,8 @@ print "char *usage_opts[] = {\n";
while(<>) {
chomp;
- if(/^-[a-zA-Z\d]/) {
+ next if /^---/;
+ if(/^-[-a-zA-Z\d]/) {
$opt = $_;
next;
}