def scan_unknown_long
import cli@0.2.0.0/cli.bend as Cliimport Base
3281# A long token that names no option, declared or built-in: a value of the
3282# next slot if that slot takes hyphen values, else unknown. Only here is the
3283# token rebuilt from its name and attached value, so a token that names an
3284# option is split once and not kept.
3285def scan_unknown_long(name: String, attached: Maybe<&2, String>,
3286 +state: ScanState) -> Mode:
3287 scan_unknown_long_case(scan_state_hyphen(state), name, attached, state)