pub const COMMIT_TABLE: &[OptionSpec];Expand description
What:
pub const NAME: &[OptionSpec] = &[...] is a table baked into the program.
&[T] is a borrowed list;
Some(b'q') is “the byte q”;
None is “no letter”.
Why:
Each row copies one Git declaration:
letter,
name,
value arity and whether
--no-<name> is accepted (false only for PARSE_OPT_NONEG).
In TS you’d write (pseudocode):
export const COMMIT_TABLE = [row(UNREAD, 'q', 'quiet', 'none', true), /* ... */] as const;