sane-tag-music: fix help message formatting

This commit is contained in:
Colin 2024-05-17 09:20:33 +00:00
parent aeed9ffd5b
commit e9bfc6cebd

View File

@ -460,7 +460,7 @@ def main():
logging.basicConfig()
logging.getLogger().setLevel(logging.INFO)
parser = argparse.ArgumentParser(description=__doc__)
parser = argparse.ArgumentParser(usage=__doc__)
parser.add_argument('--dry-run', action='store_true')
parser.add_argument('--verbose', action='store_true')
parser.add_argument('--album', help="manually specify the tag")
@ -469,7 +469,7 @@ def main():
parser.add_argument('--title', help="manually specify the tag")
parser.add_argument('--trackno', help="manually specify the tag")
subparsers = parser.add_subparsers(help="operation")
subparsers = parser.add_subparsers(help="what to do")
show_parser = subparsers.add_parser("show")
show_parser.set_defaults(subcommand="show")