Skip to content
Snippets Groups Projects
Verified Commit 1543f3b5 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed output if overrides used

parent 6d4ce4fd
Branches
Tags
No related merge requests found
...@@ -72,9 +72,15 @@ sub _override_config ($override, $opt) { ...@@ -72,9 +72,15 @@ sub _override_config ($override, $opt) {
$config{$override} = ""; # set temporary to empty string $config{$override} = ""; # set temporary to empty string
} }
if ($config{$override} ne $opt->{$override}) { if ($config{$override} ne $opt->{$override}) {
my $ov_c = np($opt->{$override});
my $cf_c = np($config{$override});
$ov_c=~s/\n//gs;
$cf_c=~s/\n//gs;
$ov_c=~s/\s{2,}//gs;
$cf_c=~s/\s{2,}//gs;
say STDERR <<"HINT"; say STDERR <<"HINT";
Hint: override local config with: Hint: override local config with:
$override => $opt->{$override} (config: $config{$override}) $override => $ov_c (config: $cf_c)
HINT HINT
$config{$override} = $opt->{$override}; $config{$override} = $opt->{$override};
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment