summaryrefslogtreecommitdiffstats
path: root/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* Source / Include Folder (#88)トトも2022-04-161-233/+0
| | | Moved Source Files Into `src` Folder
* color: Use three-letter codes for warnings and errorsTavian Barnes2022-04-151-4/+4
| | | | No reason to potentially conflict with the two-letter codes GNU ls uses.
* diag: Avoid printing trailing spacesTavian Barnes2022-03-271-3/+5
|
* 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.