Opened 7 years ago

Closed 7 years ago

#226 closed defect (fixed)

wpi4rpm needs better error handling for commandline options

Reported by: Lewis Rosenthal Owned by:
Priority: minor Milestone:
Component: other Version:
Severity: medium Keywords:
Cc:

Description

This discovery was quite by accident. I wanted to get a reminder of the command line syntax, so I entered:

wpi4rpm /?

What I got back was:

{0}[d:\] wpi4rpm /?
wpi4rpm: Mode = "/?"
    27 +++       pRApp = substr(arguments, length(Mode) + 2, length(arguments) -
 ( length(Mode) + 1) - ( length(cversion) + 1 ) );
REX0040: Error 40 running C:\USR\BIN\wpi4rpm.exe, line 27: Incorrect call to
routine

I have confirmed this under CMD as well as 4OS2 (because I know the latter can do some funny things with compiled REXX). (Similarly, -?, /h, -h return as apparently invalid.)

BTW, is this the proper place for these tickets, Herwig, or should wpi4rpm be added as a project under vxapps?

Change History (2)

comment:1 Changed 7 years ago by Lewis Rosenthal

Please ignore my last question.I see that the project url has been changed in the SPEC for 0.9.2, so this is the correct place.

comment:2 Changed 7 years ago by herwigb

Resolution: fixed
Status: newclosed

wpi4rpm 0.9.3 received an errorhandler (in order not to choke on garbage) and accepts all kind of help switches I could think of.

The source code will end up here, too.

Note: See TracTickets for help on using tickets.