Skip to content

Commit 094435b

Browse files
committed
Simplify command example in README
1 parent faeded9 commit 094435b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ modifier. For example,
550550

551551
```haskell
552552
subparser
553-
( command "add" (info (Add <$> addOptions) ( progDesc "Add a file to the repository" ))
554-
<> command "commit" (info (Commit <$> commitOptions) ( progDesc "Record changes to the repository" ))
553+
( command "add" (info addCommand ( progDesc "Add a file to the repository" ))
554+
<> command "commit" (info commitCommand ( progDesc "Record changes to the repository" ))
555555
)
556556
```
557557

0 commit comments

Comments
 (0)