libvideosite: change formatting of cache output
[videosite.git] / libvideosite.pm
index 3f05160..e4e1878 100644 (file)
@@ -34,7 +34,7 @@ my $getter;
 my %builtin_config = ();
 my $builtin_config_path;
 my $builtin_config_default;
-my $config_cache = 0;
+my $config_cache = 1;
 my %config_cache = ();
 our $error;
 
@@ -944,9 +944,9 @@ sub _cmd_cache {
         _io("Content of config cache:");
         foreach (sort(keys(%config_cache))) {
             if (exists($config_cache{$_}->{value})) {
-                _io("%s => %s", $_, $config_cache{$_}->{value});
+                _io(" %s => %s", $_, $config_cache{$_}->{value});
             } else {
-                _io("%s present", $_);
+                _io(" %s present", $_);
             }
         }
     } elsif ($subcmd eq 'clear') {