• Kir Kolyshkin's avatar
    criu: change the way -v works · c4247302
    Kir Kolyshkin authored
    For most of the CLI tools I see, adding -v option increases their verbosity.
    
    Currently, this is not the case for criu. Default verbosity is set it 2,
    and using -v actually decreases the verbosity level to 1, so to increase
    verbosity you need to use -vvv (or -v3). To me, this behavior is
    quite counterintuitive.
    
    This patch changes the way -v works (but retains -vNUM as it was). Now,
    using -v increases verbosity by +1 from the default value (and e.g. -vvv
    increases it by +3).
    
    Surely, this changes user experience: for example someone who
    was using -v (rather than -v1 or -v0) to silent warnings, will
    now have verbosity increased. IMHO this is for the better.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    c4247302
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...