-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Fix zero-valued frequencies (#381)
Fixes a bug introduced recently that caused frequencies in `info` output to be zero due to unintentional shadowing of a global variable used for the cat command. Use of global variables is an artifact of cobra's CLI command code generation. We can get away from that with a bit of refactoring but haven't done so yet. As a stopgap, this commit also introduces a convention of prefixing the globals with the name of the related command.
- Loading branch information
Showing
3 changed files
with
34 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters