From 3bd9051a67ad71580cd1b871946cad9aa453041c Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:39:48 +0200 Subject: [PATCH] fix: be more clear in info command --- pkgr/src/commands.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgr/src/commands.rs b/pkgr/src/commands.rs index 52e6fb4..1df594b 100644 --- a/pkgr/src/commands.rs +++ b/pkgr/src/commands.rs @@ -3,6 +3,7 @@ use std::process::exit; use clap::{Parser, Subcommand}; use log::{debug, error, info, trace, warn}; +use colored::Colorize; use crate::CONFIG; use crate::package::identifier::PackageIdentifier; use crate::package::Package; @@ -124,8 +125,8 @@ impl Command { info!("authors: {}", env!("CARGO_PKG_AUTHORS")); info!(""); - info!("If you can't seem to figure something out, use debug!"); - trace!("Trace should really only be used by PKGR devs."); + info!("If you can't seem to figure something out, use environment variable: PKGR_LOG_LEVEL=debug"); + trace!("{}", "The trace log level should really only be used by PKGR devs.".red()); } } #[cfg(debug_assertions)]