Bugs item #2839790, was opened at 2009-08-18 23:08
Message generated for change (Settings changed) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839790&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: General
Group: Sedna (current)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Ivan Shcheklein (shcheklein)
Summary: se_* utilities allow command line option as parameter

Initial Comment:
With se_cdb, I accidently mistyped "-help" option as "-ehlp" on the command 
line.
To my surprise a database named "-hlp" was actually created.
Fortunately se_ddb has same problem and allowed me to drop it!

$ se_cdb -zhelp
Creating a data base (it can take a few minutes)...
The database '-zhelp' has been created successfully
$ 
$ se_ddb -ehlp
The database '-ehlp' has been dropped

A database name beginning with hypen should NOT be allowed on the command line 
unless perhaps it is enclosed in quotes.
(It's probably easier & pragmatic just not to allow any command line parameter 
value to begin with a hypen as it may be confused with a mistyped option and 
don't bother to support quoted parameter values - hardly worth it).

The expected behaviour for the above commands is se_* should exit process with 
exit code = 1 and
write "Invalid option -ehlp" and correct usage information to stderr.

I haven't checked the other se_* utilities if they have the same issue, but I 
imagine common command line parsing code will fix the issue for all se_*.

Cheers
Justin Johansson


----------------------------------------------------------------------

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-08-22 14:54

Message:
Justin, thank you for submission. We've fixed this issue. Please, try the
latest dev build. See documentation for details on database naming
conventions.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839790&group_id=129076

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to