Fix: --config flag not being used #1

Merged
CodyWan-Kenobi merged 0 commits from refs/pull/1/head into main 2026-01-04 01:58:36 +00:00
CodyWan-Kenobi commented 2026-01-03 23:21:14 +00:00 (Migrated from codeberg.org)

The --config CLI flag was defined but never actually used. The code
always called Config::load() which loads from the default path,
completely ignoring the --config argument.

This fix checks if cli.config is provided and loads from that path,
otherwise falls back to the default Config::load() behavior.

The --config CLI flag was defined but never actually used. The code always called Config::load() which loads from the default path, completely ignoring the --config argument. This fix checks if cli.config is provided and loads from that path, otherwise falls back to the default Config::load() behavior.
thelinuxcast commented 2026-01-04 01:58:49 +00:00 (Migrated from codeberg.org)

Thanks for this

Thanks for this
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thelinuxcast/mattfetch!1
No description provided.