Skip to content

Commit

Permalink
fixup! fix(flag building): individual builder initializer functions p…
Browse files Browse the repository at this point in the history
…er type, changed internal representation of builders to not be entirely function-based
  • Loading branch information
TanklesXL committed Aug 25, 2023
1 parent 3b65925 commit d5733d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const caps = "caps"
/// a boolean flag with default False to control message capitalization.
///
fn caps_flag() -> flag.FlagBuilder(Bool) {
flag.new(flag.B)
flag.bool()
|> flag.default(False)
|> flag.description("Capitalize the provided name")
}
Expand Down

0 comments on commit d5733d4

Please sign in to comment.