db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Zaun (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3543) NetworkServerControl with options but no command does not give usage message
Date Thu, 17 Apr 2008 06:39:21 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589839#action_12589839

Martin Zaun commented on DERBY-3543:

Re 1) Missing or wrong number of arguments are indicated by a different error message: DRDA_InvalidNoArgs.
 I didn't see any other usage of DRDA_NoArgs.  But if this is dicy, we can keep the key and
only change the text.  The specific information that a command was not given is more useful
and correct, in my view, then just saying 'No arguments' -- especially when an option has
been given

Re 2) Sorry, don't know about this either but can look it up (when I'm back next week) unless
someone who knows DRDA better has spoken to this.

Re 3) I can add the german translation.  Might it be better then to remove the DRDA_NoArgs
messages from the other languages in order to have them shown missing and translated?  It
would be obvious when just introducing a new key DRDA_NoCommand.

Re 4) Must have been a misunderstanding: There is no default command to NetworkServerControl,
neither documented nor implemented; we won't break an existing feature or cause any incompatibilities.
 But the code looks to me that there once was a default command, and I was wondering if there's
an inclination to restore that (because the patch goes the other direction).


> NetworkServerControl with options but no command does not give usage message
> ----------------------------------------------------------------------------
>                 Key: DERBY-3543
>                 URL: https://issues.apache.org/jira/browse/DERBY-3543
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions:,
>            Reporter: Kathey Marsden
>            Assignee: Martin Zaun
>            Priority: Minor
>         Attachments: DERBY-3542-0_experimental.diff, DERBY-3542-0_experimental.stat,
DERBY-3542-1.diff, DERBY-3542-1.stat
> I noticed that 
> java org.apache.derby.drda.NetworkServerControl  -user mary -password mypass
> with no actual command just completes with no usage message.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message