Bug 40931

Summary: Xindice command line tool prints help screen on any error
Product: Xindice Reporter: Natalia Shilenkova <nshilenkova>
Component: DB EngineAssignee: Xindice Developers <xindice-dev>
Status: CLOSED FIXED    
Severity: trivial    
Priority: P3    
Version: cvs head (1.1)   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: XMLTool fixes

Description Natalia Shilenkova 2006-11-08 19:25:51 UTC
XMLTool prints help screen on any error, including server-related, which makes
it difficult to see the actual error message.

Patch attached.
Comment 1 Natalia Shilenkova 2006-11-08 19:35:05 UTC
Created attachment 19103 [details]
XMLTool fixes

Fixes help screen issue, it will be printed only if user did not specify any
command or typed 'bin/xindice help'.

Fixes embedded database shutdown - there was a problem where shutdown was not
executed if command caused an exception.

Adds a new option "pagecount" for collections.
Comment 2 Todd Byrne 2006-11-08 19:51:59 UTC
I wrote some code to fix this a bit ago, I will take a look at the patch and
commit a fix.

Comment 3 Todd Byrne 2006-11-10 17:05:32 UTC
Fixed. Thanks for submitting bug report.