aboutsummaryrefslogtreecommitdiffstats
path: root/mkhint
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-05 20:33:04 +0200
committerDanilo M. <danix@danix.xyz>2026-07-05 20:33:04 +0200
commita59ae6c64bde9732cd6b18fa5d87863e82de3f8c (patch)
tree08124cc2ab1a47ced8db6851393624775e9bb0eb /mkhint
parent451a42f586e5b49d7b7b4b37da0d7122bf525d15 (diff)
downloadmkhintfile-a59ae6c64bde9732cd6b18fa5d87863e82de3f8c.tar.gz
mkhintfile-a59ae6c64bde9732cd6b18fa5d87863e82de3f8c.zip
feat: show config-file presence in --help
Add a 'Config file:' line to the help output reporting whether $MKHINT_CONFIG is present and sourced or absent (defaults in use). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'mkhint')
-rwxr-xr-xmkhint1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkhint b/mkhint
index e7a3133..9ec2567 100755
--- a/mkhint
+++ b/mkhint
@@ -88,6 +88,7 @@ Options:
--no-dl, -N Skip downloads; add NODOWNLOAD=yes to hint file (use with -f or -n)
--help, -h Show this help message
+Config file: ${MKHINT_CONFIG}$([[ -f "$MKHINT_CONFIG" ]] && echo " (present, sourced)" || echo " (not present, using defaults)")
Hint files are stored in: $HINT_DIR
Temporary files are stored in: $TMP_DIR
Phantom-dep list (for --fix-current / --new): $PHANTOM_DEPS_FILE