diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-18 17:47:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-18 17:47:56 -0400 |
| commit | f61e6402bdba7f2a6c6a371b28288db6ea8979d0 (patch) | |
| tree | f5ecc3d6944d83c501efbbc6fc70d103cb08d6be | |
| parent | af982cde4eaedcc154a466a8cb2c4135fdaf3d86 (diff) | |
More verbose text output fixes
| -rw-r--r-- | tomo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ #include "typecheck.h" #include "types.h" -#define run_cmd(...) ({ const char *_cmd = heap_strf(__VA_ARGS__); if (verbose) printf("\033[33m%s\033[m", _cmd); popen(_cmd, "w"); }) +#define run_cmd(...) ({ const char *_cmd = heap_strf(__VA_ARGS__); if (verbose) printf("\033[34;1m%s\033[m\n", _cmd); popen(_cmd, "w"); }) #define array_str(arr) Text$as_c_string(Text$join(Text(" "), arr)) static const char *paths_str(Array_t paths) { @@ -185,7 +185,7 @@ int main(int argc, char *argv[]) else if (files.length != 1) errx(1, "Too many files specified!"); - quiet = true; + quiet = !verbose; Path_t path = *(Path_t*)files.data; env_t *env = global_env(); |
