mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 12:35:19 +01:00
Added extra output for help with subcommand list
An example including output format is given now
This commit is contained in:
parent
7a8765a631
commit
eb68d4ddb5
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue