Browse Source

minor: option group for --source-weights

boyska 6 years ago
parent
commit
6e6e4c826e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      feed

+ 2 - 2
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,