From 06b20560d53f6c20079a4e35e56b89ca2aebb91d Mon Sep 17 00:00:00 2001 From: Mark Huo Date: Wed, 15 May 2019 07:18:25 +0800 Subject: [PATCH 1/2] Fix output for removing a configuration setting --- libexec/scoop-config.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/scoop-config.ps1 b/libexec/scoop-config.ps1 index 26cd92f2ce..4b0cc035d5 100644 --- a/libexec/scoop-config.ps1 +++ b/libexec/scoop-config.ps1 @@ -37,7 +37,7 @@ if(!$name) { my_usage; exit 1 } if($name -like 'rm') { set_config $value $null | Out-Null - Write-Output "'$name' has been removed" + Write-Output "'$value' has been removed" } elseif($null -ne $value) { set_config $name $value | Out-Null Write-Output "'$name' has been set to '$value'" From d10207fe303596cc4662bff5c9e20d5e923f7a52 Mon Sep 17 00:00:00 2001 From: luckynum7 Date: Wed, 15 May 2019 07:58:33 +0800 Subject: [PATCH 2/2] Fix config file path in comment config file moved by r15ch13@f7a9cd9ceb5e6736c2f0058a5a8c5b58279b8980 --- libexec/scoop-config.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/scoop-config.ps1 b/libexec/scoop-config.ps1 index 4b0cc035d5..c0fb6b39c5 100644 --- a/libexec/scoop-config.ps1 +++ b/libexec/scoop-config.ps1 @@ -1,6 +1,6 @@ # Usage: scoop config [rm] name [value] # Summary: Get or set configuration values -# Help: The scoop configuration file is saved at ~/.scoop. +# Help: The scoop configuration file is saved at ~/.config/scoop/config.json. # # To get a configuration setting: #