Fix identity manager argument naming style (LP# 1235667)
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Fri, 11 Oct 2013 19:52:31 +0000 (15:52 -0400)
committerKevin Wasserman <kevin.wasserman@painless-security.com>
Fri, 11 Oct 2013 19:52:31 +0000 (15:52 -0400)
Conform to GNU standards: use hyphens instead of mixed-case

org.janet.Moonshot.service.in
src/moonshot-identity-manager-app.vala

index 0670c09..3703009 100644 (file)
@@ -1,3 +1,3 @@
 [D-BUS Service]
 Name=org.janet.Moonshot
-Exec=@bindir@/moonshot --DBusLaunch
+Exec=@bindir@/moonshot --dbus-launched
index d961141..29279a3 100644 (file)
@@ -316,9 +316,9 @@ public class IdentityManagerApp {
 static bool explicitly_launched = true;
 static bool use_flat_file_store = false;
 const GLib.OptionEntry[] options = {
-    {"DBusLaunch",0,GLib.OptionFlags.REVERSE,GLib.OptionArg.NONE,
+    {"dbus-launched",0,GLib.OptionFlags.REVERSE,GLib.OptionArg.NONE,
      ref explicitly_launched,"launch for dbus rpc use",null},
-    {"FlatFileStore",0,0,GLib.OptionArg.NONE,
+    {"flat-file-store",0,0,GLib.OptionArg.NONE,
      ref use_flat_file_store,"force use of flat file identity store (used by default only for headless operation)",null},
     {null}
 };