-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get version number from crate version
- Loading branch information
Felix Van der Jeugt
committed
Oct 6, 2021
1 parent
979990b
commit 7bddb73
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ extern crate anyhow; | |
use anyhow::Result; | ||
|
||
extern crate clap; | ||
use clap::{App, Arg}; | ||
use clap::{crate_version, App, Arg}; | ||
|
||
extern crate seq_io; | ||
use seq_io::fasta; | ||
|
@@ -28,7 +28,7 @@ use frag_gene_scan_rs::viterbi::viterbi; | |
|
||
fn main() -> Result<()> { | ||
let matches = App::new("FragGeneScanRs") | ||
.version("0.0.1") | ||
.version(crate_version!()) | ||
.author("Felix Van der Jeugt <[email protected]>") | ||
.about("Scalable high-throughput short-read open reading frame prediction.") | ||
.arg(Arg::with_name("seq-file") | ||
|