diff --git a/showstyle.py b/showstyle.py index 11a65ba..0177281 100755 --- a/showstyle.py +++ b/showstyle.py @@ -12,7 +12,7 @@ ap = argparse.ArgumentParser() ap.add_argument('style', help='Which rc file to use. One of %s' % available) ap.add_argument('--plot', default='all', help='One of [scatter, hist, line, image], or ' 'a comma-separated list of a subset. Default is all.') -ap.add_argument('--output', required=False, help='Render the plot to a file') +ap.add_argument('-o', '--output', required=False, help='Render the plot to a file') args = ap.parse_args() matplotlib.rc_file(os.path.join(HERE, 'rc', args.style))