]> git.draconx.ca Git - dxcommon.git/blobdiff - scripts/gen-options.awk
Fix off-by-one error in gen-options.awk.
[dxcommon.git] / scripts / gen-options.awk
index 30b820252a345b990e85ad9697e60da94d057c6c..1fd0fdb0b26aad50457873ea577f9d4612d59b80 100755 (executable)
@@ -295,7 +295,7 @@ END {
     opt = options[opt]
     if (!(opt in optionhelp)) {
       print "\tARG_L10N_(PN_(\"" opt "\", \"\"))"
-      help_offsets[opt] = help_pos
+      help_offsets[opt] = help_pos - 1
     }
   }