The use of % in argparse help strings needs to be escaped. I caught this the first time I wrote the help for --endif-style, but I went back and forth on what symbol to use, and it got missed in
b7ac6709d34cbb6e8030f23c1cb385150cee3479.
This was an embarrassingly simple oversight. The unit tests for guardonce have been focused on the algorithms handling searching and substitution, but until yesterday there were no integration tests checking that they're glued together correctly. That has been corrected, and this will not be missed again. There's only a few integration tests at the moment, but they will be expanded upon as development continues.
The use of
%
in argparse help strings needs to be escaped. I caught this the first time I wrote the help for--endif-style
, but I went back and forth on what symbol to use, and it got missed in b7ac6709d34cbb6e8030f23c1cb385150cee3479.This was an embarrassingly simple oversight. The unit tests for guardonce have been focused on the algorithms handling searching and substitution, but until yesterday there were no integration tests checking that they're glued together correctly. That has been corrected, and this will not be missed again. There's only a few integration tests at the moment, but they will be expanded upon as development continues.