dashing2 icon indicating copy to clipboard operation
dashing2 copied to clipboard

`sketch -L` doesn't work

Open BenLangmead opened this issue 3 years ago • 1 comments

The -L parameter for the sketch subcommand does not work as advertised. I get:

sketch: invalid option -- 'L'

Followed by usage message. If I replace -L with the long version of the parameter, --sketch-size-l2, it works fine. I took a brief look at the code and found the getopt struct for this option but didn't immediately see what might be wrong with it.

BenLangmead avatar Jul 05 '22 12:07 BenLangmead

Found the problem - missing "L" in the getopt string. I've prepared its fix with a CLI sanity check (making sure there are no unexpected flags)

dnbaker avatar Jul 05 '22 16:07 dnbaker