diff options
author | kvik <kvik@a-b.xyz> | 2020-05-07 00:10:09 +0200 |
---|---|---|
committer | kvik <kvik@a-b.xyz> | 2020-05-07 00:10:09 +0200 |
commit | ccf5d3fb9db7e58a9b9177f41edaf045b9294f86 (patch) | |
tree | 10b775fb9078d2924063a99a54e3efc2ea8b2266 /sys/src/ape/lib/ap/stdio/printf.c | |
parent | 0dc9c8d0199db2746f2ca651911e8fa60e90e02f (diff) |
aux/getflags: improve flagfmt parser
This makes the flagfmt parser more robust and accepting
a looser input language — namely by allowing whitespace
around specifier fields and ignoring any empty fields.
Long flagfmts can thus be pleasingly displayed:
flagfmt='
a, b, c, C:cache,
m:mtpt mountpoint,
s:srvn srvname'
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/printf.c')
0 files changed, 0 insertions, 0 deletions