fix: be more clear in info command

This commit is contained in:
Didier Slof 2023-08-07 04:40:18 +02:00
parent d349bfb978
commit 4ddf1c04ec
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -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)]