fix/sqlite #10

Merged
jake merged 17 commits from fix/sqlite into main 2025-06-19 21:58:10 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f421bd906a - Show all commits

View File

@ -44,7 +44,7 @@ var runCmd = &cobra.Command{
count := strings.Count(crun, "%s")
l := len(args)
if l-1 != count {
return fmt.Errorf("not enough arguments to fill all command placeholders, required: %d - have: %d", count, l)
return fmt.Errorf("not enough arguments to fill all command placeholders, required: %d - have: %d", count, l-1)
}
cli, err := client.New(cfgserver)

View File

@ -12,7 +12,7 @@ import (
)
var activeCmd = &cobra.Command{
Use: "active",
Use: "activate",
Example: "mctl server active <server>",
Short: "sets the active server to run commands on",
SilenceUsage: true,