diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-16 16:36:12 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-16 16:36:12 -0500 |
commit | d0ca5c32cd0b3890725df7dd75a807217b8e1810 (patch) | |
tree | 595b7ab49ff18d4e954074ab69ce2950ef7a8d29 /mkusage.pl | |
parent | b952a8a68e0f5dc76b927d1d995cdc10fb4166a0 (diff) | |
download | uxd-d0ca5c32cd0b3890725df7dd75a807217b8e1810.tar.gz |
add -1 option, error checking for parse_number()
Diffstat (limited to 'mkusage.pl')
-rw-r--r-- | mkusage.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ print "char *usage_opts[] = {\n"; while(<>) { chomp; - if(/^-[a-zA-Z]/) { + if(/^-[a-zA-Z\d]/) { $opt = $_; next; } |