mirror of
https://github.com/putnam/binmerge.git
synced 2025-04-19 08:28:06 +02:00
add version info to license output
This commit is contained in:
parent
3132d06f0e
commit
6653879620
1 changed files with 4 additions and 4 deletions
8
binmerge
8
binmerge
|
@ -27,10 +27,11 @@
|
|||
#
|
||||
import argparse, re, os, subprocess, sys, textwrap, traceback
|
||||
VERBOSE = False
|
||||
VERSION_STRING = "1.0.2"
|
||||
|
||||
def print_license():
|
||||
print(textwrap.dedent("""
|
||||
binmerge
|
||||
print(textwrap.dedent(f"""
|
||||
binmerge {VERSION_STRING}
|
||||
Copyright (C) 2024 Chris Putnam
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -271,8 +272,7 @@ def main():
|
|||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
print_license()
|
||||
parser.exit()
|
||||
|
||||
parser.add_argument('-l', '--license', default=False, help='prints license info and exit', action=licenseAction)
|
||||
parser.add_argument('-l', '--license', default=False, help='prints license info and exits', action=licenseAction)
|
||||
parser.add_argument('-v', '--verbose', action='store_true', help='print more verbose messages')
|
||||
parser.add_argument('-s', '--split', help='reverses operation, splitting merged files back to individual tracks', required=False, action='store_true')
|
||||
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.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue