def help.opt_line

shake@0.7.0.0 · src/cli.bend:1848

import shake@0.7.0.0/src/cli.bend as Cli
import Base

1848# one option line, given the label width
1849def help.opt_line(+aa: Arg, ww: Nat) -> String:
1850  Arg{_n, _s, _l, _k, +h, _r, _d, _c} = aa
1851  help.pad(help.label(aa), ww) ++ "  " ++ h ++ help.extra(aa)

Uses (7)

Used by (1)