ioccc-src / mkiocccentry

Form an IOCCC entry as a compressed tarball file
Other
28 stars 5 forks source link

Bug fixes in location tool wrt -a and -s options #821

Closed xexyl closed 9 months ago

xexyl commented 9 months ago

New version 1.0.2 2023-08-04.

Change -N to -n.

Always use re-entrant version of the lookup functions as this allows for proper showing of both name and code whether or not one is using -s or -n. If -a we still show all (as before) but without -n we previously showed both name and code like code ==> name when it should only show both if verbosity level is > 0. Note that the chkentry tool SHOULD NOT and DOES NOT use the re-entrant versions.

Use parse_verbosity() for parsing the -v option.

Updated man page with an example added and updating -N to -n.

lcn2 commented 9 months ago

Thanks @xexyl