cmd: add --progress/-P flag to show progress

Fixes #2347
Fixes #1210
This commit is contained in:
Nick Craig-Wood
2018-06-30 16:05:31 +01:00
parent b596ccdf0f
commit b6db90cc32
6 changed files with 143 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ type ConfigInfo struct {
MaxTransfer SizeSuffix
MaxBacklog int
StatsOneLine bool
Progress bool
}
// NewConfig creates a new config with everything set to the default