Well it's really a trivial thing, but when plpbackup is
run with
neither -r nor -b option, it seems to quit silently.
How about telling something to the users like this?
=======================================================
*** ./plpbackup/plpbackup.cc Mon Aug 5 13:54:22 2002
--- ./plpbackup/plpbackup.new.cc Tue Dec 3
10:27:22 2002
***************
*** 1540,1545 ****
--- 1540,1550 ----
}
driveList.push_back(argv[i]);
}
+ if (!doBackup && !doRestore) {
+ cerr <<_("Either backup (-b) or restore (-r)
option is needed.")
+ << endl;
+ usage(&cerr);
+ }
if (doBackup && (doRestore || doFormat)) {
cerr << _("Backup mode can not be combined with
format or restore.")
<< endl;
=======================================================
Best regards,
Keita
Logged In: YES
user_id=3401
The logic is wrong.
You can run plpbackup --format <DRIVE>
if you want to format a drive only.
I'll use something similar when none of the 3 actions is specified.
Thanks
-Fritz
Ticket moved from /p/plptools/patches/9/