From: Colin Clark Date: Tue, 16 Apr 2024 09:09:42 +0000 (+0100) Subject: Some command line options are not GNU/POSIX compliant (2) X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=9cad6d70203c3beae92b28db2274f05915b58bb1 Some command line options are not GNU/POSIX compliant (2) Update the plugins for the change from colon to equals sign. --- diff --git a/plugins/open-with/org.geeqie.open-with.desktop.in b/plugins/open-with/org.geeqie.open-with.desktop.in index 8d7b13f0..17bb1348 100644 --- a/plugins/open-with/org.geeqie.open-with.desktop.in +++ b/plugins/open-with/org.geeqie.open-with.desktop.in @@ -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; diff --git a/plugins/symlink/geeqie-symlink b/plugins/symlink/geeqie-symlink index 9da7f24c..fe08e37d 100755 --- a/plugins/symlink/geeqie-symlink +++ b/plugins/symlink/geeqie-symlink @@ -10,10 +10,10 @@ 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 diff --git a/plugins/tethered-photography/geeqie-tethered-photography-hook-script b/plugins/tethered-photography/geeqie-tethered-photography-hook-script index 394b27bb..76ad4f65 100755 --- a/plugins/tethered-photography/geeqie-tethered-photography-hook-script +++ b/plugins/tethered-photography/geeqie-tethered-photography-hook-script @@ -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 diff --git a/src/remote.cc b/src/remote.cc index dba0ea38..b0710946 100644 --- a/src/remote.cc +++ b/src/remote.cc @@ -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); } }