Don't show stats for pause dirs in CLI
This commit is contained in:
parent
e475454c2d
commit
646d9363da
|
@ -514,8 +514,10 @@ void Application::printDir(const RelevantDir &relevantDir) const
|
||||||
printProperty("Label", dir->label);
|
printProperty("Label", dir->label);
|
||||||
printProperty("Path", dir->path);
|
printProperty("Path", dir->path);
|
||||||
printProperty("Status", dir->statusString());
|
printProperty("Status", dir->statusString());
|
||||||
printProperty("Global", directoryStatusString(dir->globalStats), nullptr, 6);
|
if (!dir->paused) {
|
||||||
printProperty("Local", directoryStatusString(dir->localStats), nullptr, 6);
|
printProperty("Global", directoryStatusString(dir->globalStats), nullptr, 6);
|
||||||
|
printProperty("Local", directoryStatusString(dir->localStats), nullptr, 6);
|
||||||
|
}
|
||||||
printProperty("Last scan time", dir->lastScanTime);
|
printProperty("Last scan time", dir->lastScanTime);
|
||||||
printProperty("Last file time", dir->lastFileTime);
|
printProperty("Last file time", dir->lastFileTime);
|
||||||
printProperty("Last file name", dir->lastFileName);
|
printProperty("Last file name", dir->lastFileName);
|
||||||
|
|
|
@ -12,8 +12,6 @@ Directories
|
||||||
Label Test dir 2
|
Label Test dir 2
|
||||||
Path /tmp/some/path/2/
|
Path /tmp/some/path/2/
|
||||||
Status paused
|
Status paused
|
||||||
Global 0 file\(s\), 0 dir\(s\), 0 bytes
|
|
||||||
Local 0 file\(s\), 0 dir\(s\), 0 bytes
|
|
||||||
Shared with Test dev 2
|
Shared with Test dev 2
|
||||||
Type Send & Receive
|
Type Send & Receive
|
||||||
Ignore permissions no
|
Ignore permissions no
|
||||||
|
|
Loading…
Reference in New Issue