Skip to content

Commit

Permalink
get version number from crate version
Browse files Browse the repository at this point in the history
  • 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.
4 changes: 2 additions & 2 deletions src/bin/FragGeneScanRs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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")
Expand Down

0 comments on commit 7bddb73

Please sign in to comment.