Skip to content

Commit 8f5248e

Browse files
committed
params fixes
1 parent 587380c commit 8f5248e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/models/settings_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class SettingsModel {
243243
'wtvconvertfix': '-wtvconvertfix',
244244
'wtvmpeg2': '-wtvmpeg2',
245245
'program_number': '--program-number',
246-
'autoprogram': '-autoprogram',
246+
'autoprogram': '--autoprogram',
247247
'multiprogram': '-multiprogram',
248248
'streamtype': '-streamtype',
249249
'hauppauge': '--hauppauge',

lib/repositories/ccextractor.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CCExtractor {
3333
ccextractor,
3434
[
3535
file.path,
36-
'--gui_mode_reports',
36+
'--gui-mode-reports',
3737
...paramsList,
3838
],
3939
);
@@ -89,7 +89,7 @@ class CCExtractor {
8989
location,
9090
tcppasswrd.isNotEmpty ? '-tcppasswrd' + tcppasswrd : '',
9191
tcpdesc.isNotEmpty ? '-tcpdesc' + tcpdesc : '',
92-
'--gui_mode_reports',
92+
'--gui-mode-reports',
9393
...paramsList,
9494
],
9595
);
@@ -141,7 +141,7 @@ class CCExtractor {
141141
ccextractor,
142142
[
143143
...files.map((e) => e.path).toList(),
144-
'--gui_mode_reports',
144+
'--gui-mode-reports',
145145
...paramsList,
146146
],
147147
);

lib/screens/settings/components/current_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class CurrentCommandContainer extends StatelessWidget {
7575
child: Padding(
7676
padding: const EdgeInsets.only(left: 10),
7777
child: SelectableText(
78-
'ccextractor --gui_mode_reports ${paramsList.reduce((value, element) => value + ' ' + element)} +[input files]',
78+
'ccextractor --gui-mode-reports ${paramsList.reduce((value, element) => value + ' ' + element)} +[input files]',
7979
// maxLines: 2,
8080
style: TextStyle(
8181
fontSize: 15,

test/bloc_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void main() {
4141
expect(
4242
_settingsRepository
4343
.getParamsList(settingsModel)
44-
.contains('-autoprogram'),
44+
.contains('--autoprogram'),
4545
false);
4646
expect(
4747
_settingsRepository

0 commit comments

Comments
 (0)