Closed N-R-K closed 1 year ago
currently, it unnecessarily uses strncmp and thus ends up accepting "edgee" as "edge" etc.
no need to carry around a string internally. removes unnecessary allocation and string comparisons.
fix: loose suboption parsing for --line
currently, it unnecessarily uses strncmp and thus ends up accepting "edgee" as "edge" etc.
use an enum for internal line mode
no need to carry around a string internally. removes unnecessary allocation and string comparisons.