Some command line options are not GNU/POSIX compliant (2)
authorColin Clark <colin.clark@cclark.uk>
Tue, 16 Apr 2024 09:09:42 +0000 (10:09 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 16 Apr 2024 09:09:42 +0000 (10:09 +0100)
Update the plugins for the change from colon to equals sign.

plugins/open-with/org.geeqie.open-with.desktop.in
plugins/symlink/geeqie-symlink
plugins/tethered-photography/geeqie-tethered-photography-hook-script
src/remote.cc

index 8d7b13f..17bb134 100644 (file)
@@ -4,7 +4,7 @@ Type=Application
 Name=Open With
 Comment=Call the gtk application chooser dialog
 
-Exec=geeqie --remote --action:OpenWith %f
+Exec=geeqie --remote --action=OpenWith %f
 
 # Desktop files that are usable only in Geeqie should be marked like this:
 Categories=Graphics;
index 9da7f24..fe08e37 100755 (executable)
 for file in "$@" ; do
     # we got only one file for each group, typically the main one
     # get the sidecars:
-    geeqie -r --get-sidecars:"$file" |while read -r sidecar ; do
+    geeqie -r --get-sidecars="$file" |while read -r sidecar ; do
        # the main file is included in the sidecar file list, no special handling is required
        # get destination path for each sidecar file:
-        geeqie -r --get-destination:"$sidecar" | if read -r destination ; then
+        geeqie -r --get-destination="$sidecar" | if read -r destination ; then
             ln -s "$sidecar" "$destination"
         fi
     done
index 394b27b..76ad4f6 100755 (executable)
@@ -8,7 +8,7 @@
 if [ "$ACTION" = "download" ]
 then
        notify-send --expire-time=4000 "$ARGUMENT"  --icon=geeqie
-       geeqie --remote File:"$PWD/$ARGUMENT"
+       geeqie --remote File="$PWD/$ARGUMENT"
 fi
 
 exit 0
index dba0ea3..b071094 100644 (file)
@@ -1119,11 +1119,11 @@ static void gr_selection_remove(const gchar *text, GIOChannel *, gpointer)
                {
                if (fd_to_deselect)
                        {
-                       log_printf("remote sent \"--selection-remove:\" but current image is not selected");
+                       log_printf("remote sent \"--selection-remove=\" but current image is not selected");
                        }
                else
                        {
-                       log_printf("remote sent \"--selection-remove:%s\" but that filename is not selected",
+                       log_printf("remote sent \"--selection-remove=%s\" but that filename is not selected",
                                   filename);
                        }
                }