summaryrefslogtreecommitdiffstats
path: root/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* diag: Factor debug_flag string conversion into its own functionTavian Barnes2020-10-041-25/+21
|
* Rename struct cmdline to bfs_ctxTavian Barnes2020-09-271-24/+24
| | | | | The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
* diag: Unify debug printingTavian Barnes2020-06-021-8/+75
|
* diag: Make the -warn flag part of the cmdlineTavian Barnes2020-03-151-4/+6
|
* color: Check format strings + args for cfprintf()Tavian Barnes2019-01-021-2/+2
| | | | | | %{cc} is now ${cc} to avoid warnings about an unrecognized format specifier, and %P and %L are now %pP and %pL to make them look more like standard format strings.
* diag: Unify diagnostic formattingTavian Barnes2019-01-021-0/+64
This adds a bfs: prefix to error/warning messages for consistency with other command line tools, and leaves only the "error:"/"warning:" part colored like GCC. It also uniformly adds full stops after messages.