Handle other result types than near-misses #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Example: Running
sp phyologiewill cause an segmentation fault.The issues is the disregard of the correct parsing of the result as ispell returns the following:
The # is not an option which is currently handled at all and may cause the segmentation fault. This also includes ? which is also not handled at all.
should also be reported back to the user, i.e. by exiting with non-zero? # signals that there was no near miss and that the word is not known in the dictionary.
? signals a guess made by ispell which should be handled accordingly as well, as the output format differs from normal near-misses which use #.