From 5bb4c2bfedeb6a6d3fbd69f33b02947c0e0d7727 Mon Sep 17 00:00:00 2001 From: Thomas Frans Date: Thu, 9 Nov 2023 22:35:26 +0100 Subject: [PATCH] fix: make `info` command easier to parse --- src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index e663d57f..15eb0d1d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -6,13 +6,13 @@ pub fn info() -> Result<(), String> { let user_cache_directory = user_cache_directory(); println!( - "USER CONFIGURATION PATH: {}", + "USER_CONFIGURATION_PATH {}", user_configuration_directory .map(|path| path.to_string_lossy().to_string()) .unwrap_or("not found".into()) ); println!( - "USER CACHE PATH: {}", + "USER_CACHE_PATH {}", user_cache_directory .map(|path| path.to_string_lossy().to_string()) .unwrap_or("not found".into()) @@ -24,7 +24,7 @@ pub fn info() -> Result<(), String> { let user_runtime_directory = user_runtime_directory(); println!( - "USER RUNTIME PATH: {}", + "USER_RUNTIME_PATH {}", user_runtime_directory .map(|path| path.to_string_lossy().to_string()) .unwrap_or("not found".into())