def end2
import cswap-bend-cli@0.1.0.0/gflags.bend as Gflagsimport Base
69def end2(+g: G) -> G:
70 match g:
71 case G{rest, fmt, noin, yes, err, p}:
72 G{List.reverse(&2, String, rest), fmt, noin, yes, Bool.pick(String, p, "argument --format: expected one argument", err), False{}}