summaryrefslogtreecommitdiffstats
path: root/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* diag: New functions for highlighting command line argumentsTavian Barnes2022-03-271-1/+128
|
* Fix up some #includesTavian Barnes2021-02-051-1/+0
|
* parse: Clean up debug flag parsing/printingTavian Barnes2020-12-021-27/+1
|
* Include what I useTavian Barnes2020-11-121-2/+0
| | | | Thanks to https://github.com/include-what-you-use/include-what-you-use
* diag: New bfs_perror() functionTavian Barnes2020-10-051-0/+4
|
* 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.