Repository: codenotary/immudb (language: go)

Issue:
Running SQL interactively in immuclient always returns unnecessary warning
**What happened**

immuclient>exec SELECT id FROM people
INFO: Redunant argument(s) | [id FROM people] 
sql ok, Ctxs: 0 Dtxs: 0

**What you expected to happen**

immuclient understands the command correctly and I can't find a different way to run the same. So I expect no warnings.

**Environment**

1.0.0 (both client and server)



Discussion / hints:
Thanks @federico-razzoli 

Please use `query` instead of `exec` to get query results. 

`Redunant argument(s)` warning should not appear and probably improving documentation and hints about `query` vs `exec` operations

Sorry for the incomplete information, but the warning appears with both `query` and `exec`:

```
immuclient>query SELECT * FROM t1
INFO: Redunant argument(s) | [* FROM t1]
```

I tried to wrap the query with quotes to make it appear as a single argument, but it doesn't work.
Issue seems to be caused by a limited parsing of arguments.
`cmd/immuclient/cli/cli.go line 121 arrCommandStr := strings.Fields(line)`

Note: using immuclient in non-interactive mode it's possible to quote sql statement
e.g. immuclient query "SELECT * FROM t1"

Fix patch:
diff --git a/cmd/immuclient/cli/register.go b/cmd/immuclient/cli/register.go
index c06b689106..ffa8e7f4ec 100644
--- a/cmd/immuclient/cli/register.go
+++ b/cmd/immuclient/cli/register.go
@@ -59,8 +59,8 @@ func (cli *cli) initCommands() {
 	cli.Register(&command{"version", "Print version", cli.version, nil, false})
 
 	// SQL
-	cli.Register(&command{"exec", "Executes sql statement", cli.sqlExec, []string{"statement"}, false})
-	cli.Register(&command{"query", "Query sql statement", cli.sqlQuery, []string{"statement"}, false})
+	cli.Register(&command{"exec", "Executes sql statement", cli.sqlExec, []string{"statement"}, true})
+	cli.Register(&command{"query", "Query sql statement", cli.sqlQuery, []string{"statement"}, true})
 	cli.Register(&command{"describe", "Describe table", cli.describeTable, []string{"table"}, false})
 	cli.Register(&command{"tables", "List tables", cli.listTables, nil, false})
 }


Test patch: