Commit cd207665 authored by Andrey Alekseenko's avatar Andrey Alekseenko Committed by Tomaz Canabrava
Browse files

Handle 'ssh -J' properly in tab title

Previously, `ssh -J intermediate target` treated -J as a host name,
resulting in tab having `() -J` title, instead of `() target`.
parent 2a78bb6e
......@@ -52,7 +52,7 @@ SSHProcessInfo::SSHProcessInfo(const ProcessInfo &process) :
// options which take no arguments
static const QString noArgumentOptions(QStringLiteral("1246AaCfgKkMNnqsTtVvXxYy"));
// options which take one argument
static const QString singleArgumentOptions(QStringLiteral("bcDeFIiLlmOopRSWw"));
static const QString singleArgumentOptions(QStringLiteral("bcDeFIiJLlmOopRSWw"));
if (ok) {
// find the username, host and command arguments
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment