Bug 40931 - Xindice command line tool prints help screen on any error
Summary: Xindice command line tool prints help screen on any error
Status: CLOSED FIXED
Alias: None
Product: Xindice
Classification: Unclassified
Component: DB Engine (show other bugs)
Version: cvs head (1.1)
Hardware: Other other
: P3 trivial
Target Milestone: ---
Assignee: Xindice Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 19:25 UTC by Natalia Shilenkova
Modified: 2007-03-11 19:15 UTC (History)
0 users



Attachments
XMLTool fixes (14.45 KB, patch)
2006-11-08 19:35 UTC, Natalia Shilenkova
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.