Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnsessesary message when executing script [CORE3063] #3442

Open
firebird-issue-importer opened this issue Jul 1, 2010 · 2 comments
Open

Unnsessesary message when executing script [CORE3063] #3442

firebird-issue-importer opened this issue Jul 1, 2010 · 2 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Jul 1, 2010

Submitted by: Ain Valtin (ain)

When running SQL script via command line like this:

isql.exe -input Test.sql

where test.sql file contains single line

CREATE DATABASE 'test.fdb' USER 'x' PASSWORD 'x' DEFAULT CHARACTER SET UTF8;

following message is printed

Use CONNECT or CREATE DATABASE to specify a database

Database is created OK.
It seems that this message is always printed when ISQL is executed while it makes sense only when interactive session is started.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 1, 2010

Commented by: @hvlad

Use switch -quiet

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 2, 2010

Commented by: Ain Valtin (ain)

How quiet is quiet (InterBase 6 Operations Guide lists the parameter but doesn't have any comments about it's effect)? I wouldn't want to miss any error messages...
But the point really is that the message is quite pointless, even irritating... anyone who uses command line tools should be able to find information how to use the tool. What if I started the interactive session to load/execute some script?
If you (FB developers) feel that this helps to reduce support questions then I would suggest that the message at the start of the interactive session should be something like "Type ? to gel list of available commands" and the list should include the CONNECT and CREATE DATABASE commands (which it currently does not).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant