From 6e6e4c826eeaa9fe23b8a0ba651b8aa1de11eed9 Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 13 Feb 2018 21:34:37 +0100 Subject: [PATCH] minor: option group for --source-weights --- feed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feed b/feed index a51cf98..642a96b 100755 --- a/feed +++ b/feed @@ -152,8 +152,8 @@ def get_duration(url): def get_parser(): p = ArgumentParser('Get music from a (well-specified) xml feed') src = p.add_argument_group('sources', 'How to deal with sources') - p.add_argument('--source-weights', - help='Select only one "source" based on this weights') + src.add_argument('--source-weights', + help='Select only one "source" based on this weights') filters = p.add_argument_group('filters', 'Select only items that match these conditions') filters.add_argument('--max-len', default=0, type=int,