@@ -83,7 +83,8 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
8383 " overwrite channel names, frequencies, etc. with "
8484 " values available from the data source. This will "
8585 " override custom channel names, which is why it "
86- " is disabled by default." );
86+ " is disabled by default." )
87+ ->SetGroup (" Channel List Handling" );
8788 add (" --remove-new-channels" , " removechannels" , false ,
8889 " disable new channels on datadirect web interface" ,
8990 " When using DataDirect, ask mythfilldatabase to "
@@ -93,14 +94,16 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
9394 " MythTV by running mythfilldatabase without this "
9495 " option. New digital channels cannot be directly "
9596 " imported and thus are disabled automatically." )
96- ->SetBlocks (" file" );
97+ ->SetBlocks (" file" )
98+ ->SetGroup (" Channel List Handling" );
9799 add (" --do-not-filter-new-channels" , " nofilterchannels" , false ,
98100 " don't filter ATSC channels for addition" ,
99101 " Normally, MythTV tries to avoid adding ATSC "
100102 " channels to NTSC channel lineups. This option "
101103 " restores the behavior of adding every channel in "
102104 " the downloaded channel lineup to MythTV's lineup, "
103- " in case MythTV's smarts fail you." );
105+ " in case MythTV's smarts fail you." )
106+ ->SetGroup (" Channel List Handling" );
104107 // need documentation for this one
105108 add (" --cardtype" , " cardtype" , " " , " " , " No information." );
106109
@@ -116,48 +119,55 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
116119 " #[-#]\n "
117120 " all\n\n "
118121 " example:\n "
119- " --refresh today --refresh 4-8 --refresh nottomorrow" );
122+ " --refresh today --refresh 4-8 --refresh nottomorrow" )
123+ ->SetGroup (" Filtering" );
120124
121125 add (" --max-days" , " maxdays" , 0 , " force number of days to update" ,
122126 " Force the maximum number of days, counting today, "
123127 " for the guide data grabber to check for future "
124- " listings." );
128+ " listings." )
129+ ->SetGroup (" Filtering" );
125130 add (" --refresh-today" , " refreshtoday" , false , " " ,
126131 " This option is only valid for selected grabbers.\n "
127132 " Force a refresh for today's guide data.\n This can be used "
128133 " in combination with other --refresh-<n> options.\n "
129134 " If being used with datadirect, this option should not be "
130135 " used, rather use --dd-grab-all to pull all listings each time." )
131- ->SetDeprecated (" use --refresh instead" );
136+ ->SetDeprecated (" use --refresh instead" )
137+ ->SetGroup (" Filtering" );
132138 add (" --dont-refresh-tomorrow" , " dontrefreshtomorrow" , false , " " ,
133139 " This option is only valid for selected grabbers.\n "
134140 " Prevent mythfilldatabase from pulling information for "
135141 " tomorrow's listings. Data for tomorrow is always pulled "
136142 " unless specifically specified otherwise.\n "
137143 " If being used with datadirect, this option should not be "
138144 " used, rather use --dd-grab-all to pull all listings each time." )
139- ->SetDeprecated (" use --refresh instead" );
145+ ->SetDeprecated (" use --refresh instead" )
146+ ->SetGroup (" Filtering" );
140147 add (" --refresh-second" , " refreshsecond" , false , " " ,
141148 " This option is only valid for selected grabbers.\n "
142149 " Force a refresh for guide data two days from now. This can "
143150 " be used in combination with other --refresh-<n> options.\n "
144151 " If being used with datadirect, this option should not be "
145152 " used, rather use --dd-grab-all to pull all listings each time." )
146- ->SetDeprecated (" use --refresh instead" );
153+ ->SetDeprecated (" use --refresh instead" )
154+ ->SetGroup (" Filtering" );
147155 add (" --refresh-day" , " refreshday" , 0U , " " ,
148156 " This option is only valid for selected grabbers.\n "
149157 " Force a refresh for guide data on a specific day. This can "
150158 " be used in combination with other --refresh-<n> options.\n "
151159 " If being used with datadirect, this option should not be "
152160 " used, rather use --dd-grab-all to pull all listings each time." )
153- ->SetDeprecated (" use --refresh instead" );
161+ ->SetDeprecated (" use --refresh instead" )
162+ ->SetGroup (" Filtering" );
154163 add (" --dont-refresh-tba" , " dontrefreshtba" , false ,
155164 " don't refresh \" To be announced\" programs" ,
156165 " This option is only valid for selected grabbers.\n "
157166 " Prevent mythfilldatabase from automatically refreshing any "
158167 " programs marked as \" To be announced\" .\n "
159168 " If being used with datadirect, this option should not be "
160- " used, rather use --dd-grab-all to pull all listings each time." );
169+ " used, rather use --dd-grab-all to pull all listings each time." )
170+ ->SetGroup (" Filtering" );
161171
162172 add (" --refresh-all" , " refreshall" , false , " " ,
163173 " This option is only valid for selected grabbers.\n "
@@ -169,7 +179,8 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
169179 ->SetBlocks (" dontrefreshtomorrow" )
170180 ->SetBlocks (" refreshsecond" )
171181 ->SetBlocks (" refreshday" )
172- ->SetBlocks (" maxdays" );
182+ ->SetBlocks (" maxdays" )
183+ ->SetGroup (" Filtering" );
173184
174185 add (" --dd-grab-all" , " ddgraball" , false ,
175186 " refresh full data using DataDirect" ,
@@ -187,15 +198,28 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
187198 add (" --only-update-channels" , " onlychannels" , false ,
188199 " only update channel lineup" ,
189200 " Download as little listings data as possible to update the "
190- " channel lineup." );
201+ " channel lineup." )
202+ ->SetGroup (" Channel List Handling" );
191203 add (" --no-mark-repeats" , " markrepeats" , true , " do not mark repeats" , " " );
192204 add (" --export-icon-map" , " exporticonmap" , " iconmap.xml" ,
193- " export icon map to file" , " " );
205+ " export icon map to file" , " " )
206+ ->SetGroup (" Channel Icon Handling" );
194207 add (" --import-icon-map" , " importiconmap" , " iconmap.xml" ,
195- " import icon map to file" , " " );
208+ " import icon map to file" , " " )
209+ ->SetGroup (" Channel Icon Handling" );
196210 add (" --update-icon-map" , " updateiconmap" , false ,
197- " updates icon map icons" , " " );
211+ " updates icon map icons" , " " )
212+ ->SetGroup (" Channel Icon Handling" );
198213 add (" --reset-icon-map" , " reseticonmap" , " " , " resets icon maps" ,
199214 " Reset all icon maps. If given 'all' as an optional value, reset "
200- " channel icons as well." );
215+ " channel icons as well." )
216+ ->SetGroup (" Channel Icon Handling" );
217+
218+ add (" --graboptions" , " graboptions" , " " , " " , " " )
219+ ->SetRemoved (" mythfilldatabase now passes any text after an\n "
220+ " independent '--' directly to the external grabber.\n "
221+ " e.g. mythfilldatabase -- --daily" , " 0.25" );
222+ add (" --mark-repeats" , " oldmarkrepeats" , " " , " " , " " )
223+ ->SetRemoved (" This is now the default behavior. Use\n "
224+ " --no-mark-repeats to disable." , " 0.25" );
201225}
0 commit comments