summaryrefslogtreecommitdiffstats
path: root/diag.h
Commit message (Collapse)AuthorAgeFilesLines
* Source / Include Folder (#88)トトも2022-04-161-108/+0
| | | Moved Source Files Into `src` Folder
* diag: New functions for highlighting command line argumentsTavian Barnes2022-03-271-1/+23
|
* diag: New bfs_perror() functionTavian Barnes2020-10-051-0/+5
|
* Rename struct cmdline to bfs_ctxTavian Barnes2020-09-271-10/+10
| | | | | The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
* diag: Unify debug printingTavian Barnes2020-06-021-3/+24
|
* Add some documentation commentsTavian Barnes2019-02-091-0/+4
|
* color: Check format strings + args for cfprintf()Tavian Barnes2019-01-021-0/+3
| | | | | | %{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/+53
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.