Skip to content

Commit

Permalink
mark required arguments as such
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Apr 7, 2020
1 parent 6ae980d commit d509e68
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,12 @@ fn main() -> io::Result<()> {
.about("Data-driven grouping of transcripts to reduce inferential uncertainty")
.subcommand(
SubCommand::with_name("group")
.about("Computing individual graphs and dump consensus")
.about("perform per-sample grouping of transcripts; required prior to consensus collapse.")
.arg(
Arg::with_name("dir")
.long("dir")
.short("d")
.required(true)
.takes_value(true)
.help("directory to read input from")
)
Expand Down Expand Up @@ -384,18 +385,20 @@ fn main() -> io::Result<()> {
Arg::with_name("out")
.long("out")
.short("o")
.required(true)
.takes_value(true)
.requires("dir")
.help("prefix where output would be written")
)
)
.subcommand(
SubCommand::with_name("collapse")
.about("Computing individual graphs and dump consensus")
.about("analyze a collection of per-sample groups, and produce a consensus grouping.")
.arg(
Arg::with_name("dirs")
.long("dirs")
.short("d")
.required(true)
.multiple(true)
.takes_value(true)
.help("direcotories to read the group files from")
Expand All @@ -404,6 +407,7 @@ fn main() -> io::Result<()> {
Arg::with_name("out")
.long("out")
.short("o")
.required(true)
.takes_value(true)
.requires("dirs")
.help("prefix where output would be written")
Expand Down

0 comments on commit d509e68

Please sign in to comment.