Skip to content

Commit

Permalink
Fix some CLI parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw85 committed Sep 4, 2023
1 parent 7f5b2d9 commit 681b3ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.1.7]
### Fixed
- Several CLI options did not correctly require a value.

## [v0.1.6]
### Fixed
- Memory mapping CLI option was setting translated search mode not enabling memory mapping!
Expand Down
12 changes: 6 additions & 6 deletions server/kraken2_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ void ParseCommandLine(int argc, char **argv, Options &opts) {
{"report-zero", no_argument, NULL, 'Z'},
{"translated-search", no_argument, NULL, 't'},
{"translated-search", no_argument, NULL, 'T'},
{"confidence", no_argument, NULL, 'c'},
{"confidence", no_argument, NULL, 'C'},
{"min-quality", no_argument, NULL, 'q'},
{"min-quality", no_argument, NULL, 'Q'},
{"hit-groups", no_argument, NULL, 'g'},
{"hit-groups", no_argument, NULL, 'G'},
{"confidence", required_argument, NULL, 'c'},
{"confidence", required_argument, NULL, 'C'},
{"min-quality", required_argument, NULL, 'q'},
{"min-quality", required_argument, NULL, 'Q'},
{"hit-groups", required_argument, NULL, 'g'},
{"hit-groups", required_argument, NULL, 'G'},
{"memory-mapping", no_argument, NULL, 'o'},
{"memory-mapping", no_argument, NULL, 'O'},
{"wait", required_argument, NULL, 'w'},
Expand Down

0 comments on commit 681b3ab

Please sign in to comment.