|
27 | 27 | # |
28 | 28 | import argparse, re, os, subprocess, sys, textwrap, traceback |
29 | 29 | VERBOSE = False |
| 30 | +VERSION_STRING = "1.0.2" |
30 | 31 |
|
31 | 32 | def print_license(): |
32 | | - print(textwrap.dedent(""" |
33 | | - binmerge |
| 33 | + print(textwrap.dedent(f""" |
| 34 | + binmerge {VERSION_STRING} |
34 | 35 | Copyright (C) 2024 Chris Putnam |
35 | 36 |
|
36 | 37 | This program is free software; you can redistribute it and/or modify |
@@ -271,8 +272,7 @@ def main(): |
271 | 272 | def __call__(self, parser, namespace, values, option_string=None): |
272 | 273 | print_license() |
273 | 274 | parser.exit() |
274 | | - |
275 | | - parser.add_argument('-l', '--license', default=False, help='prints license info and exit', action=licenseAction) |
| 275 | + parser.add_argument('-l', '--license', default=False, help='prints license info and exits', action=licenseAction) |
276 | 276 | parser.add_argument('-v', '--verbose', action='store_true', help='print more verbose messages') |
277 | 277 | parser.add_argument('-s', '--split', help='reverses operation, splitting merged files back to individual tracks', required=False, action='store_true') |
278 | 278 | parser.add_argument('-o', '--outdir', default=False, help='output directory. defaults to the same directory as source cue. directory will be created (recursively) if needed.') |
|
0 commit comments