lineFormatOptions function
Implementation
List<FigOption> lineFormatOptions(List<String> names) {
return names.map((name) {
return FigOption(
name: '--$name-line-format',
description: 'Format $name input lines with LFTM',
args: [
FigArg(
name: 'LFTM',
description: '''%L contents of line
%l contents of line, excluding any trailing newline
%[-][WIDTH][.[PREC]]{doxX}n printf-style spec for input line number
%% %
%c'C' the single character C
%c'\\OOO' the character with octal code OOO''',
),
],
);
}).toList();
}