Share

Yet Another SQL*Plus Replacement

Tracker: Patches

5 Fix --help behaviour - ID: 1413756
Last Update: Comment added ( jpnangle )

--help should print a usage message and exit
successfully. This is even checked by the test suite,
but currently yasql does the wrong thing.

On line 234 of yasql.in change to

usage(0) if $opt_help;


Ed Avis ( epaepa ) - 2006-01-24 15:11

5

Closed

None

Jon Nangle

None

None

Public


Comments ( 3 )




Date: 2006-09-20 17:04
Sender: jpnangle

Logged In: YES
user_id=982254

Yep, I added that to the patch (its in rev 3 in svn :)


Date: 2006-09-20 10:42
Sender: qzy

Logged In: YES
user_id=1209168


Well, invoking usage(0) will result in going on to ask for
credentials which is undesired when asking for the help
screen. I guess it just should exit quietly after printing
help text.



Date: 2006-09-11 05:37
Sender: jpnangle

Logged In: YES
user_id=982254

Applied, thanks.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2006-09-11 05:37 jpnangle
assigned_to nobody 2006-09-11 05:37 jpnangle
close_date - 2006-09-11 05:37 jpnangle