Skip to content

Commit

Permalink
Add 'version' arg to command line derivations (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Roach authored Feb 14, 2023
1 parent 73d382c commit f28f736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/commands/demux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ impl DemuxMetric {
/// ```
///
#[derive(Parser, Debug)]
#[command(version)]
pub(crate) struct Demux {
/// One or more input fastq files each corresponding to a sequencing (e.g. R1, I1).
#[clap(long, short = 'i', required = true, num_args = 1..)]
Expand Down
1 change: 1 addition & 0 deletions src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ struct Args {

#[enum_dispatch(Command)]
#[derive(Parser, Debug)]
#[command(version)]
enum Subcommand {
Demux(Demux),
}
Expand Down

0 comments on commit f28f736

Please sign in to comment.