Changeset aaaaa2e


Ignore:
Timestamp:
Aug 7, 2019, 8:06:41 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
aa68798
Parents:
b180b98
git-author:
Joachim Langenbach <joachim.langenbach@…> (08/07/19 20:05:29)
git-committer:
Joachim Langenbach <joachim.langenbach@…> (08/07/19 20:06:41)
Message:

Removed metavar, so that the choices array is listed in the help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnuboat/bin/gnuboat-log-converter

    rb180b98 raaaaa2e  
    115115    for file_format in Format:
    116116      formats.append(file_format.name)
     117    print(formats)
    117118
    118119    parser = argparse.ArgumentParser(description='Convert gnuboat logfiles into other formats')
    119     parser.add_argument('-f', '--format', dest='output_format', metavar='output_format', type=str,
     120    parser.add_argument('-f', '--format', dest='output_format', type=str,
    120121                        help='Format of the output file.', choices=formats, default='CSV')
    121122    parser.add_argument('-i', '--ignore-errors', dest='errors_ignore', action='store_false',
Note: See TracChangeset for help on using the changeset viewer.