Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/base_depth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use structopt::{StructOpt, clap::AppSettings};

/// Calculate the depth at each base, per-nucleotide.
#[derive(StructOpt)]
#[structopt(author, global_settings = &[AppSettings::ArgRequiredElseHelp])]
#[structopt(author, setting = AppSettings::ArgRequiredElseHelp)]
pub struct BaseDepth {
/// Input indexed BAM/CRAM to analyze.
reads: PathBuf,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/merge_adjacent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use structopt::{StructOpt, clap::AppSettings};
/// Generally accepts any file with no header that is <chrom>\t<start>\t<stop>\t<depth>.
/// The <stop> is optional. See documentation for explanation of headers that are accepted.
#[derive(StructOpt)]
#[structopt(author, global_settings = &[AppSettings::ArgRequiredElseHelp])]
#[structopt(author, setting = AppSettings::ArgRequiredElseHelp)]
pub struct MergeAdjacent {
/// Input bed-like file, defaults to STDIN.
in_file: Option<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/only_depth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use structopt::{StructOpt, clap::AppSettings};

/// Calculate only the depth at each base.
#[derive(StructOpt)]
#[structopt(author, global_settings = &[AppSettings::ArgRequiredElseHelp])]
#[structopt(author, setting = AppSettings::ArgRequiredElseHelp)]
pub struct OnlyDepth {
/// Input indexed BAM/CRAM to analyze.
reads: PathBuf,
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use perbase_lib::utils;
use structopt::{StructOpt, clap::AppSettings};

#[derive(StructOpt)]
#[structopt(rename_all = "kebab-case", author, about, global_settings = &[AppSettings::SubcommandRequiredElseHelp])]
#[structopt(rename_all = "kebab-case", author, about, setting = AppSettings::SubcommandRequiredElseHelp)]
/// Commands for generating per-base analysis
struct Args {
#[structopt(subcommand)]
Expand Down