]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/DaemonCommand.java
Implement add/remove admin privileges
[signal-cli] / src / main / java / org / asamk / signal / commands / DaemonCommand.java
index 8d26e452c984658c3dbedbc383e9b1a69547f7ec..f54f3bf67b03488427926a08a3a006fe844aa415 100644 (file)
@@ -54,7 +54,7 @@ public class DaemonCommand implements MultiLocalCommand {
             logger.warn("\"--json\" option has been deprecated, please use the global \"--output=json\" instead.");
         }
 
-        boolean ignoreAttachments = ns.getBoolean("ignore_attachments");
+        boolean ignoreAttachments = ns.getBoolean("ignore-attachments");
 
         DBusConnection.DBusBusType busType;
         if (ns.getBoolean("system")) {
@@ -88,7 +88,7 @@ public class DaemonCommand implements MultiLocalCommand {
             logger.warn("\"--json\" option has been deprecated, please use the global \"--output=json\" instead.");
         }
 
-        boolean ignoreAttachments = ns.getBoolean("ignore_attachments");
+        boolean ignoreAttachments = ns.getBoolean("ignore-attachments");
 
         DBusConnection.DBusBusType busType;
         if (ns.getBoolean("system")) {