Bug 2826 - Oddity with command-line parameters, when used incorrectly
: Oddity with command-line parameters, when used incorrectly
Status: RESOLVED FIXED
: RFT
RFT
: development
: PC Linux
: P3 minor
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-02-28 16:12 by
Modified: 2005-03-07 13:46 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-02-28 16:12:47
I was able to do something odd by incorrectly using RFT command-line tool. A
user-friendly fix here would stop someone like me from messing up.

Here's what I did:

bin/rft -h ned-0.isi.edu -r 9000 -file ./transfer.xfr

Where "./transfer.xfr" is my transfer request. The correct parameter above would
have been "-f" instead of "-file". Though I made this error the interface still
accepted my transfer request file as if I had used "-f" and then overwrote my
transfer request file with the RFT resource EPR. So now my transfer reqeust is gone.

In this case, it was ok because my xfr file was trivial, however, if it had been
more substantial I would have had a problem.

A better behavior might be to stop me from doing this and give a cmd-line error.
------- Comment #1 From 2005-03-07 13:46:56 -------
This is fixed in trunk now.