Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Add missing curly braces in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akaiser authored Jan 23, 2024
1 parent 46d5033 commit 98a5d58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,12 @@ e.g.
File `dgit.dart`

```dart
void main(List<String> args){
void main(List<String> args) {
var runner = CommandRunner("dgit", "A dart implementation of distributed version control.")
..addCommand(CommitCommand())
..addCommand(StashCommand())
..run(args);
..run(args);
}
```

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

0 comments on commit 98a5d58

Please sign in to comment.