def help_flag

cli@0.2.0.0 · cli.bend:3128

import cli@0.2.0.0/cli.bend as Cli
import Base

3128# Which help flag a token is: Some{True{}} for --help, Some{False{}} for -h.
3129def help_flag(+token: String) -> Maybe<&2, Bool>:
3130  help_flag_case(String.eq(token, "--help"), String.eq(token, "-h"))

Uses (5)

Used by (2)