Document --remote open file or URL command
authorColin Clark <colin.clark@cclark.uk>
Wed, 25 Mar 2020 20:19:36 +0000 (20:19 +0000)
committerColin Clark <colin.clark@cclark.uk>
Wed, 25 Mar 2020 20:19:36 +0000 (20:19 +0000)
The --remote open file commands can also open a URL

doc/docbook/GuideReferenceCommandLine.xml
geeqie.1
src/remote.c

index e407955..cf2d3fa 100644 (file)
           </row>\r
           <row>\r
             <entry />\r
-            <entry>file:&lt;file&gt;</entry>\r
-            <entry>Open  &lt;file&gt; and bring Geeqie window to the top</entry>\r
+            <entry>file:&lt;file&gt;|&lt;URL&gt;</entry>\r
+            <entry>Open  &lt;file&gt; or &lt;URL&gt; and bring Geeqie window to the top</entry>\r
           </row>\r
           <row>\r
             <entry />\r
-            <entry>--file:&lt;file&gt;</entry>\r
-            <entry>Open  &lt;file&gt; and bring Geeqie window to the top</entry>\r
+            <entry>--file:&lt;file&gt;|&lt;URL&gt;</entry>\r
+            <entry>Open  &lt;file&gt; or &lt;URL&gt; and bring Geeqie window to the top</entry>\r
           </row>\r
           <row>\r
             <entry />\r
-            <entry>File:&lt;file&gt;</entry>\r
-            <entry>Open  &lt;file&gt; and do not bring Geeqie window to the top</entry>\r
+            <entry>File:&lt;file&gt;|&lt;URL&gt;</entry>\r
+            <entry>Open  &lt;file&gt; or &lt;URL&gt; and do not bring Geeqie window to the top</entry>\r
           </row>\r
           <row>\r
             <entry />\r
-            <entry>--File:&lt;file&gt;</entry>\r
-            <entry>Open  &lt;file&gt; and do not bring Geeqie window to the top</entry>\r
+            <entry>--File:&lt;file&gt;|&lt;URL&gt;</entry>\r
+            <entry>Open  &lt;file&gt; or &lt;URL&gt; and do not bring Geeqie window to the top</entry>\r
           </row>\r
           <row>\r
             <entry />\r
index b2c9b25..133d001 100644 (file)
--- a/geeqie.1
+++ b/geeqie.1
@@ -160,20 +160,20 @@ Get list of sidecars of FILE.
 Get destination path of FILE.
 .br
 .B
-.IP file:<FILE>
-Open FILE, bring Geeqie window to the top.
+.IP file:<FILE>|<URL>
+Open FILE or URL, bring Geeqie window to the top.
 .br
 .B
-.IP \-\-file:<FILE>
-Open FILE, bring Geeqie window to the top.
+.IP \-\-file:<FILE>|<URL>
+Open FILE or URL, bring Geeqie window to the top.
 .br
 .B
-.IP File:<FILE>
-Open FILE, do not bring Geeqie window to the top.
+.IP File:<FILE>|<URL>
+Open FILE or URL, do not bring Geeqie window to the top.
 .br
 .B
-.IP \-\-File:<FILE>
-Open FILE, do not bring Geeqie window to the top.
+.IP \-\-File:<FILE>|<URL>
+Open FILE or URL, do not bring Geeqie window to the top.
 .br
 .B
 .IP \-\-tell
index cc30630..e89ebb1 100644 (file)
@@ -1302,10 +1302,10 @@ static RemoteCommandEntry remote_commands[] = {
        { NULL, "--config-load:",       gr_config_load,         TRUE,  FALSE, N_("<FILE>|layout ID"), N_("load configuration from FILE") },
        { NULL, "--get-sidecars:",      gr_get_sidecars,        TRUE,  FALSE, N_("<FILE>"), N_("get list of sidecars of FILE") },
        { NULL, "--get-destination:",   gr_get_destination,     TRUE,  FALSE, N_("<FILE>"), N_("get destination path of FILE") },
-       { NULL, "file:",                gr_file_load,           TRUE,  FALSE, N_("<FILE>"), N_("open FILE, bring Geeqie window to the top") },
-       { NULL, "--file:",              gr_file_load,           TRUE,  FALSE, N_("<FILE>"), N_("open FILE, bring Geeqie window to the top") },
-       { NULL, "File:",                gr_file_load_no_raise,  TRUE,  FALSE, N_("<FILE>"), N_("open FILE, do not bring Geeqie window to the top") },
-       { NULL, "--File:",              gr_file_load_no_raise,  TRUE,  FALSE, N_("<FILE>"), N_("open FILE, do not bring Geeqie window to the top") },
+       { NULL, "file:",                gr_file_load,           TRUE,  FALSE, N_("<FILE>|<URL>"), N_("open FILE or URL, bring Geeqie window to the top") },
+       { NULL, "--file:",              gr_file_load,           TRUE,  FALSE, N_("<FILE>|<URL>"), N_("open FILE or URL, bring Geeqie window to the top") },
+       { NULL, "File:",                gr_file_load_no_raise,  TRUE,  FALSE, N_("<FILE>|<URL>"), N_("open FILE or URL, do not bring Geeqie window to the top") },
+       { NULL, "--File:",              gr_file_load_no_raise,  TRUE,  FALSE, N_("<FILE>|<URL>"), N_("open FILE or URL, do not bring Geeqie window to the top") },
        { NULL, "--tell",               gr_file_tell,           FALSE, FALSE, NULL, N_("print filename [and Collection] of current image") },
        { NULL, "--pixel-info",         gr_pixel_info,          FALSE, FALSE, NULL, N_("print pixel info of mouse pointer on current image") },
        { NULL, "--get-rectangle",      gr_rectangle,           FALSE, FALSE, NULL, N_("get rectangle co-ordinates") },