Commit 24d8f069 authored by Sean Fitzgibbon's avatar Sean Fitzgibbon
Browse files

Improved CLI help

parent fbba286c
......@@ -59,7 +59,7 @@ def add_chart_cli(subparsers):
formatter_class=lambda prog: argparse.HelpFormatter(prog, max_help_position=55, width=100)
)
parser.add_argument("chart", metavar="<chart>",
help="Chart file", type=str)
help="Neurolucida chart file", type=str)
parser.add_argument("slide", metavar="<slide>",
help="Fixed slide", type=str)
parser.add_argument("slide_res", metavar="<slide-resolution>",
......@@ -90,15 +90,16 @@ def add_applyxfm_cli(subparsers):
parser.add_argument("fixed_res", metavar="<fixed-resolution>",
help="Fixed image resolution (mm)", type=float)
parser.add_argument("moving_reg", metavar="<moving-reg>",
help="Moving timg from registration", type=str)
parser.add_argument("fixed_reg", metavar="<fixed-reg>",
help="Fixed timg from registration", type=str)
parser.add_argument("moving_reg", metavar="<reg-moving>",
help="Moving timg from registration directory", type=str)
parser.add_argument("fixed_reg", metavar="<reg-fixed>",
help="Fixed timg from registration directory (e.g. fixed4_nonlinear.timg)", type=str)
parser.add_argument("out", metavar="<dir>",
parser.add_argument("out", metavar="<resampled-img>",
help="Name for resampled output image", type=str)
parser.add_argument('--inverse', dest='inverse', action='store_true')
parser.add_argument('--inverse', dest='inverse', action='store_true',
help='Invert the transformation chain')
parser.set_defaults(method='applyxfm')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment