aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:31:18 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:31:18 -0400
commit4de57f628bc74f00ba1885e91c84ea07c5405d8f (patch)
tree5d91900751e826d491ff1b2ebc571a787e84f864 /SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp
parent74d881cefa9097e58e129e37b9c44d680d8c7dfe (diff)
parent3565aad630864ecdbe53fdaa501ea708555b3c7c (diff)
Update upstream source from tag 'upstream/3.4.4+dfsg'
Update to upstream version '3.4.4+dfsg' with Debian dir 482614bd23f0ef52dabc9803477204ad88e917ed
Diffstat (limited to 'SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp')
-rw-r--r--SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp b/SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp
index fef1737..a7eb004 100644
--- a/SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp
+++ b/SQLiteStudio3/sqlitestudiocli/commands/clicommandopen.cpp
@@ -10,7 +10,7 @@ void CliCommandOpen::execute()
if (!syntax.isArgumentSet(DB_NAME_OR_FILE) && !cli->getCurrentDb())
{
println(tr("Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.")
- .arg(cmdName("open")).arg(cmdName("use")).arg(cmdName("open")));
+ .arg(cmdName("open"), cmdName("use"), cmdName("open")));
return;
}
@@ -36,7 +36,7 @@ void CliCommandOpen::execute()
{
println(tr("File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. "
"To create a new database, use %4 command.").arg(arg).arg(QDir::currentPath())
- .arg(cmdName("open")).arg(cmdName("add")));
+ .arg(cmdName("open"), cmdName("add")));
return;
}
}