sane-tag-music: fix help message formatting
This commit is contained in:
@@ -460,7 +460,7 @@ def main():
|
|||||||
logging.basicConfig()
|
logging.basicConfig()
|
||||||
logging.getLogger().setLevel(logging.INFO)
|
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('--dry-run', action='store_true')
|
||||||
parser.add_argument('--verbose', action='store_true')
|
parser.add_argument('--verbose', action='store_true')
|
||||||
parser.add_argument('--album', help="manually specify the tag")
|
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('--title', help="manually specify the tag")
|
||||||
parser.add_argument('--trackno', 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 = subparsers.add_parser("show")
|
||||||
show_parser.set_defaults(subcommand="show")
|
show_parser.set_defaults(subcommand="show")
|
||||||
|
Reference in New Issue
Block a user