When specified on its own, specifiers for hosts/volumes weren't read
from the command line, and neither were all hosts/volumes used
implicitly in the absence of command-line arguments.
&& !retire)
throw CommandError("no action specified");
- if(backup || prune || retire) {
+ if(backup || prune || pruneIncomplete || retire) {
// Volumes to back up or retire
if(optind < argc) {
for(n = optind; n < argc; ++n) {
}
// Select volumes
- if(command.backup || command.prune)
+ if(command.backup || command.prune || command.pruneIncomplete)
command.selectVolumes();
// Execute commands