diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-09 22:02:52 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-09 22:02:52 -0500 |
| commit | 778a9150cdcd15216e0c1c6d7e1e3843cf455546 (patch) | |
| tree | 07cc85bceee233daaed48c4d2b657c4c6a531717 /installer/lib/config.sh | |
| parent | bf7098186f60ec1705addb4841d1d5bcf7dacd45 (diff) | |
| download | archangel-778a9150cdcd15216e0c1c6d7e1e3843cf455546.tar.gz archangel-778a9150cdcd15216e0c1c6d7e1e3843cf455546.zip | |
feat: default to no-color output, add --color flag to enable
Keeps logs and SSH output clean. Use archangel --color for colored output.
Diffstat (limited to 'installer/lib/config.sh')
| -rw-r--r-- | installer/lib/config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/lib/config.sh b/installer/lib/config.sh index 358a5f4..fefc838 100644 --- a/installer/lib/config.sh +++ b/installer/lib/config.sh @@ -41,6 +41,10 @@ parse_args() { error "--config-file requires a path argument" fi ;; + --color) + enable_color + shift + ;; --help|-h) show_usage exit 0 @@ -60,6 +64,7 @@ Arch Linux installer with ZFS/Btrfs support and snapshot management. Options: --config-file PATH Use config file for unattended installation + --color Enable colored output --help, -h Show this help message Without --config-file, runs in interactive mode. |
