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

plugins/export-jpeg/geeqie-export-jpeg
plugins/image-crop/geeqie-image-crop
plugins/random-image/geeqie-random-image

index cf83ca5..628aee4 100755 (executable)
@@ -229,5 +229,5 @@ then
                fi
        fi
 
-       geeqie --remote view:"$tmpdir/"
+       geeqie --remote --view="$tmpdir/"
 fi
index 23711dd..33aa6cf 100755 (executable)
@@ -28,7 +28,7 @@ process_raw ()
 
                rm "$tmpdir/$src_filename"
 
-               geeqie --remote view:"$tmpdir/$filename-crop.$extension"
+               geeqie --remote --view="$tmpdir/$filename-crop.$extension"
                res=0
        else
                res=1
@@ -49,7 +49,7 @@ process_plain ()
        then
                zenity --error --title="$title" --text="Cannot process this file format" --width="$width" --window-icon="$window_icon"
        else
-               geeqie --remote view:"$tmpdir/$filename-crop.$extension"
+               geeqie --remote --view="$tmpdir/$filename-crop.$extension"
        fi
 }
 
index 8f221f2..e802c43 100755 (executable)
@@ -13,7 +13,7 @@ collection_list=$(geeqie --remote --get-collection-list)
 
 for collection_name in $collection_list
 do
-       collection_file_list=$(geeqie --remote --get-collection:"$collection_name")
+       collection_file_list=$(geeqie --remote --get-collection="$collection_name")
        for collection_file in $collection_file_list
                do
                list="${list:+${list}}\n${collection_file}"
@@ -21,7 +21,7 @@ do
 done
 
 # get list of images in current folder
-file_list=$(geeqie --remote --get-filelist:)
+file_list=$(geeqie --remote --get-filelist=)
 
 for file_name in $file_list
 do
@@ -61,4 +61,4 @@ then
        display_image=$(printf '%b' "$files_no_spaces" | sort --uniq | shuf -n 1)
 fi
 
-geeqie --remote file:"$display_image"
+geeqie --remote file="$display_image"