def scan.step2
import cswap-bend-cli@0.1.0.0/args.bend as Argsimport Base
396def scan.step2(pending: Bool, +h: String, +name: String, opts: List<&2, Opt>, err: String) -> Scan:
397 match pending:
398 case True{}:
399 Scan{Opt{name, h} <> opts, "", err}
400 case False{}:
401 scan.free(is_flag(h), h, opts, err)