minor: option group for --source-weights
This commit is contained in:
parent
9fc54050d6
commit
6e6e4c826e
1 changed files with 2 additions and 2 deletions
4
feed
4
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,
|
||||
|
|
Loading…
Reference in a new issue