Skip to content

Commit

Permalink
Dropped abbrev.
Browse files Browse the repository at this point in the history
  • Loading branch information
pq committed May 20, 2017
1 parent 5d59e7c commit 93ed492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions bin/linter.dart
Expand Up @@ -55,8 +55,7 @@ void runLinter(List<String> args, LinterOptions initialLintOptions) {
abbr: "h", negatable: false, help: "Show usage information.")
..addFlag("stats",
abbr: "s", negatable: false, help: "Show lint statistics.")
..addFlag("benchmark",
abbr: "b", negatable: false, help: "Show lint benchmarks.")
..addFlag("benchmark", negatable: false, help: "Show lint benchmarks.")
..addFlag('visit-transitive-closure',
help: 'Visit the transitive closure of imported/exported libraries.')
..addFlag('quiet', abbr: 'q', help: "Don't show individual lint errors.")
Expand Down Expand Up @@ -145,7 +144,7 @@ void runLinter(List<String> args, LinterOptions initialLintOptions) {

var stats = options['stats'];
var benchmark = options['benchmark'];
if (stats == true || benchmark == true) {
if (stats || benchmark) {
lintOptions.enableTiming = true;
}

Expand Down
2 changes: 1 addition & 1 deletion tool/travis.sh
Expand Up @@ -21,7 +21,7 @@ if [ "$LINTER_BOT" = "benchmark" ]; then
set +e

# Benchmark linter with all lints enabled.
dart bin/linter.dart -b -q -c example/all.yaml .
dart bin/linter.dart --benchmark -q -c example/all.yaml .

echo ""
else
Expand Down

0 comments on commit 93ed492

Please sign in to comment.