Issue 11950 - --help does not work
Summary: --help does not work
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Linux, all
: P2 Trivial with 1 vote (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: bettina.haberer
QA Contact: issues@framework
Depends on:
Reported: 2003-03-01 18:34 UTC by pavel
Modified: 2003-05-12 17:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-03-01 18:34:58 UTC
pavel@oo:~/OpenOffice.org644> ./soffice --help
/tmp/11beta/OpenOffice.org644/program/soffice.bin: error while loading shared
libraries: cannot open shared object file: No such file or directory

without --help, it works as expected.
Comment 1 thorsten.martens 2003-03-10 13:43:36 UTC
TM->DV: Problem was reproducible and should be fixed due to the fact,
that --help is GNU conform.
Comment 2 thorsten.martens 2003-03-10 14:06:59 UTC
Comment 3 thorsten.martens 2003-03-10 14:21:08 UTC
As talked to "development section" and "user experience" this feature
won´t be implemented in the near future. Our parameters are started
with only one "-", the same way, java parameters do ! So typing
"-help" works. Posix (Unix standard) doesn´t know the additional "-"
too. Therefore the wish, being GNU conform is only a wish for a
feature and not a bug. 
Comment 4 michael.bemmer 2003-03-11 18:09:52 UTC
As mentioned on the qa dev list on March 5th I will close all resolved duplicate
issues. Please see this posting for details. First step in IssueZilla is
unfortunately to set them to verified.
Comment 5 michael.bemmer 2003-03-11 18:17:35 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. 
Comment 6 pavel 2003-04-14 22:25:54 UTC
If you are not going to implement --help, soffice should at least say:

--help not known, use -help for usage.

This is considered as basic functionality so this should be fixed
before release. It is nonsense to tell user that we "cannot open
shared object file" when he mistyped command line parametre.
Comment 7 Olaf Felka 2003-04-15 16:40:35 UTC
Hi Bettina,
please have a look.
Comment 8 pavel 2003-04-15 21:17:54 UTC
I consider this a bug.
Comment 9 pavel 2003-04-15 21:30:13 UTC
I consider this a bug! I spent some time on it and came to this

When you specify an option which is recognized as a help option of
javaldx, ie.:

Options are: 
--help or -h

LD_LIBRARY_PATH will be set to some nonsense in

# extend the ld_library_path for java: javaldx checks the sofficerc for us
java_ld_library_path=`"$sd_prog/javaldx" "$1" "$2" "$3" "$4" "$5" "$6"
"$7" "$8" "$9"`
if [ "$java_ld_library_path" != "" ] ; then
    case $sd_platform in

... in the default case. When you run soffcie with sh -x, you will get
something like:

javaldx is necessary to make Java work on some UNIX platforms.It
prints a string to std out that consists of directories which have to
be included into the LD_LIBRARY_PATH variable.The setting of the
variable usually occurs in a shell script that runs javaldx.
The directories are either part of a java installation or they are
links which point to directories of a java installation. If they are
links then a javarc was found otherwise it was searched for the best
java on the system. The links are always in 

Options are: 
--help or

Ie. nonsense. Even -h which is advertised as supported option to get
help in, is not recognized and DOES NOT work.

Setting target to next beta and priority to P@, because basic
functionality does not work correctly.

Thanks everyone who spent his time with this bug.
Comment 10 pavel 2003-04-15 21:31:47 UTC
Changing component to installation.
Comment 11 pavel 2003-04-15 21:36:27 UTC
Huh, sorry I thought that is in setup2 which in turn is in
installation, but it seems to be in framework now, so the component
framework is the right one, IMHO.

Sorry for confusion. Need to get some sleep :-(
Comment 12 pavel 2003-05-05 17:49:07 UTC
-h, -help now works in beta2.
Comment 13 bettina.haberer 2003-05-12 16:34:10 UTC
Hello Pavel, acoording development it is not a bug. For a later
version it is planned to strengthen the commandline handling. What do
you think about writing a proposal, would you like to write it? I
close this issue, because it is set to fixed and suggest to write a
new one as enhancement. Thank you.
Comment 14 pavel 2003-05-12 17:20:31 UTC
Prposal about -- switches? Or what proposal?

GNU standard ones are: