summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-11-29 20:18:11 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-11-29 20:18:17 -0500
commit5bd53e947970756faf180e9b32e7fac07bc0767c (patch)
tree97f5905b6c8b5649d542cd061fb0ad38ab20d9a4 /src/main.cpp
parentFix state event rendering for join rules and emojis (diff)
downloadnheko-5bd53e947970756faf180e9b32e7fac07bc0767c.tar.xz
Fix profile argument parsing bug
Diffstat (limited to '')
-rw-r--r--src/main.cpp2
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")) {