When an option has no help text, the lopt_get_help function is returning
a description pointer which is one past the end of the help text array,
rather than a pointer to the final 0 byte as intended. The results are
unpredictable.
opt = options[opt]
if (!(opt in optionhelp)) {
print "\tARG_L10N_(PN_(\"" opt "\", \"\"))"
- help_offsets[opt] = help_pos
+ help_offsets[opt] = help_pos - 1
}
}
+dnl Copyright © 2021 Nick Bowler
+dnl
+dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
+dnl This is free software: you are free to do what the fuck you want to.
+dnl There is NO WARRANTY, to the extent permitted by law.
+
AT_BANNER([Script tests])
AT_SETUP([gen-options.awk])