Skip to content

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pnezis committed Oct 22, 2024
1 parent 696ab3a commit 27821fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli_options/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
CliOptions.parse(["--verbose", "--silent"], schema, post_validate: post_validate)
>>>
# if only one of the two is passed the validation returns :ok
# if only one of the two is passed the validation succeeds
CliOptions.parse(["--verbose"], schema, post_validate: post_validate)
>>>
```
Expand Down
2 changes: 1 addition & 1 deletion cli_options/lib/cli_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ defmodule CliOptions do
CliOptions.parse(["--verbose", "--silent"], schema, post_validate: post_validate)
>>>
# if only one of the two is passed the validation returns :ok
# if only one of the two is passed the validation succeeds
CliOptions.parse(["--verbose"], schema, post_validate: post_validate)
>>>
```
Expand Down

0 comments on commit 27821fd

Please sign in to comment.