CoBrALab / qbatch

The Unlicense
27 stars 13 forks source link

Allow argparse to generate default usage and use it #130

Closed gdevenyi closed 8 years ago

gdevenyi commented 8 years ago

Addresses #100

@pipitone thoughts?

Output without "--help" now looks like:

usage: qbatch [-h] [-w WALLTIME] [-c CHUNKSIZE] [-j CORES] [--ppj PPJ]
              [-N JOBNAME] [--mem MEM] [-q QUEUE] [-n] [-v] [--depend DEPEND]
              [-d WORKDIR] [--logdir LOGDIR] [-o OPTIONS] [--header HEADER]
              [--footer FOOTER] [--nodes NODES] [--pe PE] [--memvars MEMVARS]
              [--pbs-nodes-spec PBS_NODES_SPEC] [-i] [-b {pbs,sge,local}]
              [--env {copied,batch,none}]
              command_file
pipitone commented 8 years ago

I dig it. Thanks @gdevenyi