def help_missing_case

cli@0.2.0.0 · cli.bend:3473

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

3473def help_missing_case(help: Maybe<&2, Bool>, +token: String,
3474    state: ScanState) -> Tail:
3475  match help:
3476    case Some{long}: Stopped{scan_event(state, HelpHit{long})}
3477    case None{}:
3478      Stopped{scan_error(state,
3479        unknown_fault(String.starts_with(token, "-"), token))}

Uses (10)

Used by (1)