summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp')
-rw-r--r--SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp b/SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp
index 7a957c3..5f92fd4 100644
--- a/SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp
+++ b/SQLiteStudio3/sqlitestudiocli/commands/clicommandhelp.cpp
@@ -77,7 +77,7 @@ void CliCommandHelp::printHelp()
names.sort();
QStringList msgList;
- foreach (const QString& cmd, names)
+ for (const QString& cmd : names)
{
msgList << (CFG_CLI.Console.CommandPrefixChar.get() + pad(cmd, width, ' ') + " - " + allCommands[cmd]->shortHelp());
delete allCommands[cmd];