Closed nak3 closed 8 years ago
why do we need to print the progress to stderr instead of stdout?
If it outptuts the progress to the stderr, we can see the progress when we want to redirect the command result. That's the reason.
# ./bin/torusctl -C 192.168.121.1:2379 block dump myvolume foo --progress > cli-fixed.log
myvolume [==================================== ] 761 MB / 1.07 GB
LGTM
Fixes #305