Added extra output for help with subcommand list

An example including output format is given now
This commit is contained in:
Peter Kessen 2015-08-26 18:38:04 +02:00
parent 7a8765a631
commit eb68d4ddb5

View file

@ -973,6 +973,8 @@ def list_func(lib, opts, args):
list_cmd = ui.Subcommand('list', help='query the library', aliases=('ls',))
list_cmd.parser.add_help_text('query the library')
list_cmd.parser.add_help_text('Example usage: %prog -f \'$album: $title\' artist:foo')
list_cmd.parser.add_all_common_options()
list_cmd.func = list_func
default_commands.append(list_cmd)