From: Colin Clark Date: Wed, 24 Apr 2024 08:54:10 +0000 (+0100) Subject: Some command line options are not GNU/POSIX compliant (3) X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=2781fc9b9bdb63a6868bd314137ca70c4908a951 Some command line options are not GNU/POSIX compliant (3) Update the plugins for the change from colon to equals sign. --- diff --git a/plugins/export-jpeg/geeqie-export-jpeg b/plugins/export-jpeg/geeqie-export-jpeg index cf83ca54..628aee48 100755 --- a/plugins/export-jpeg/geeqie-export-jpeg +++ b/plugins/export-jpeg/geeqie-export-jpeg @@ -229,5 +229,5 @@ then fi fi - geeqie --remote view:"$tmpdir/" + geeqie --remote --view="$tmpdir/" fi diff --git a/plugins/image-crop/geeqie-image-crop b/plugins/image-crop/geeqie-image-crop index 23711ddb..33aa6cf8 100755 --- a/plugins/image-crop/geeqie-image-crop +++ b/plugins/image-crop/geeqie-image-crop @@ -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 } diff --git a/plugins/random-image/geeqie-random-image b/plugins/random-image/geeqie-random-image index 8f221f29..e802c43e 100755 --- a/plugins/random-image/geeqie-random-image +++ b/plugins/random-image/geeqie-random-image @@ -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"