From eb68d4ddb5b322bf19fceb564c0784a29118de2c Mon Sep 17 00:00:00 2001 From: Peter Kessen Date: Wed, 26 Aug 2015 18:38:04 +0200 Subject: [PATCH] Added extra output for help with subcommand list An example including output format is given now --- beets/ui/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index c499d36d8..ed5097b73 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -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)