minor: option group for --source-weights

This commit is contained in:
boyska 2018-02-13 21:34:37 +01:00
parent 9fc54050d6
commit 6e6e4c826e

4
feed
View file

@ -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,