Projects tigase _server server-core Issues #894
Missing help when running tigase.sh *-schema (#894)
wojciech.kapcia@tigase.net opened 7 years ago
wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists/tigase-issue #8.0.0-SNAPSHOT-b5030 $ ./scripts/tigase.sh install-schema etc/tigase.conf
java.lang.IllegalArgumentException: You are missing arguments! Missing are: [dbType]
	at tigase.util.ui.console.ParameterParser.parseArgs(ParameterParser.java:467)
	at tigase.db.util.SchemaManager.execute(SchemaManager.java:165)
	at tigase.db.util.SchemaManager.main(SchemaManager.java:137)

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists/tigase-issue #8.0.0-SNAPSHOT-b5030 $ ./scripts/tigase.sh install-schema
No params-file.conf given. Using: ''
java.lang.IllegalArgumentException: You are missing arguments! Missing are: [dbType]
	at tigase.util.ui.console.ParameterParser.parseArgs(ParameterParser.java:467)
	at tigase.db.util.SchemaManager.execute(SchemaManager.java:165)
	at tigase.db.util.SchemaManager.main(SchemaManager.java:137)

IMHO in above cases a help should be printed by default.

Andrzej Wójcik (Tigase) commented 7 years ago

I've fixed this issue. Now, help is properly displayed.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
6236
Version
tigase-server-8.0.0
Spent time
2h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#894
Please wait...
Page is in error, reload to recover