Skip to content

Commit

Permalink
Don't reuse abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Jun 6, 2024
1 parent 20a500c commit d9cd74b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions packages/realm_dart/lib/src/cli/install/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ class Options {
@CliOption(hide: true, help: 'Download binary from http://localhost:8000/.', defaultsTo: false)
bool debug;

@CliOption(help: 'Force install, even if we would normally skip it.', abbr: 'f', defaultsTo: false)
@CliOption(help: 'Force install, even if we would normally skip it.', defaultsTo: false)
bool force;

Options({this.targetOsType, this.force = false, this.debug = false});
}

String get usage => _$parserForOptions.usage;

ArgParser populateOptionsParser(ArgParser parser, {
ArgParser populateOptionsParser(
ArgParser parser, {
TargetOsType? targetOsTypeDefaultOverride,
Flavor? flavorDefaultOverride,
}) => _$populateOptionsParser(parser, targetOsTypeDefaultOverride: targetOsTypeDefaultOverride, flavorDefaultOverride: flavorDefaultOverride);
}) =>
_$populateOptionsParser(parser, targetOsTypeDefaultOverride: targetOsTypeDefaultOverride, flavorDefaultOverride: flavorDefaultOverride);

Options parseOptionsResult(ArgResults results) => _$parseOptionsResult(results);
1 change: 0 additions & 1 deletion packages/realm_dart/lib/src/cli/install/options.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d9cd74b

Please sign in to comment.