Skip to content

Commit

Permalink
add help (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes authored Jul 7, 2021
1 parent de4bd52 commit a2b428d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charcoal/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ def cli():
@click.option('--no-use-conda', is_flag=True, default=False)
@click.option('--verbose', is_flag=True)
@click.option('--outdir', nargs=1)
@click.option("-h", "--help", nargs=0)
@click.argument('snakemake_args', nargs=-1)
def run(configfile, snakemake_args, no_use_conda, verbose, outdir):
def run(configfile, snakemake_args, no_use_conda, verbose, outdir, help):
"execute charcoal workflow (using snakemake underneath)"
targets = [ arg for arg in snakemake_args if not arg.startswith('-') ]
if help or not targets:
Expand Down

0 comments on commit a2b428d

Please sign in to comment.