diff --git a/README.md b/README.md index 72f658b..06bc675 100644 --- a/README.md +++ b/README.md @@ -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") }