diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-11-29 20:18:11 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-11-29 20:18:17 -0500 |
commit | 5bd53e947970756faf180e9b32e7fac07bc0767c (patch) | |
tree | 97f5905b6c8b5649d542cd061fb0ad38ab20d9a4 /src | |
parent | Fix state event rendering for join rules and emojis (diff) | |
download | nheko-5bd53e947970756faf180e9b32e7fac07bc0767c.tar.xz |
Fix profile argument parsing bug
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3cf794f8..c90cbc2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -185,7 +185,7 @@ main(int argc, char *argv[]) if (arg.startsWith(QLatin1String("--profile="))) { arg.remove(QStringLiteral("--profile=")); userdata = arg; - } else if (arg.startsWith(QLatin1String("--p="))) { + } else if (arg.startsWith(QLatin1String("-p="))) { arg.remove(QStringLiteral("-p=")); userdata = arg; } else if (arg == QLatin1String("--profile") || arg == QLatin1String("-p")) { |