Skip to content

Commit 0589549

Browse files
authored
Add missing curly braces in README.md (dart-archive/args#261)
1 parent 1f1f655 commit 0589549

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkgs/args/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,12 @@ e.g.
295295
File `dgit.dart`
296296

297297
```dart
298-
void main(List<String> args){
298+
void main(List<String> args) {
299299
var runner = CommandRunner("dgit", "A dart implementation of distributed version control.")
300300
..addCommand(CommitCommand())
301301
..addCommand(StashCommand())
302-
..run(args);
302+
..run(args);
303+
}
303304
```
304305

305306
When the above `run(args)` line executes it parses the command line args looking for one of the commands (`commit` or `stash`).

0 commit comments

Comments
 (0)