From: Colin Clark Date: Wed, 25 Mar 2020 20:19:36 +0000 (+0000) Subject: Document --remote open file or URL command X-Git-Tag: v1.6~77 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=4116491d58427c2f48a576f6430adae194e23970 Document --remote open file or URL command The --remote open file commands can also open a URL --- diff --git a/doc/docbook/GuideReferenceCommandLine.xml b/doc/docbook/GuideReferenceCommandLine.xml index e407955d..cf2d3fa9 100644 --- a/doc/docbook/GuideReferenceCommandLine.xml +++ b/doc/docbook/GuideReferenceCommandLine.xml @@ -214,23 +214,23 @@ - file:<file> - Open <file> and bring Geeqie window to the top + file:<file>|<URL> + Open <file> or <URL> and bring Geeqie window to the top - --file:<file> - Open <file> and bring Geeqie window to the top + --file:<file>|<URL> + Open <file> or <URL> and bring Geeqie window to the top - File:<file> - Open <file> and do not bring Geeqie window to the top + File:<file>|<URL> + Open <file> or <URL> and do not bring Geeqie window to the top - --File:<file> - Open <file> and do not bring Geeqie window to the top + --File:<file>|<URL> + Open <file> or <URL> and do not bring Geeqie window to the top diff --git a/geeqie.1 b/geeqie.1 index b2c9b25d..133d0014 100644 --- 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: -Open FILE, bring Geeqie window to the top. +.IP file:| +Open FILE or URL, bring Geeqie window to the top. .br .B -.IP \-\-file: -Open FILE, bring Geeqie window to the top. +.IP \-\-file:| +Open FILE or URL, bring Geeqie window to the top. .br .B -.IP File: -Open FILE, do not bring Geeqie window to the top. +.IP File:| +Open FILE or URL, do not bring Geeqie window to the top. .br .B -.IP \-\-File: -Open FILE, do not bring Geeqie window to the top. +.IP \-\-File:| +Open FILE or URL, do not bring Geeqie window to the top. .br .B .IP \-\-tell diff --git a/src/remote.c b/src/remote.c index cc306306..e89ebb1d 100644 --- a/src/remote.c +++ b/src/remote.c @@ -1302,10 +1302,10 @@ static RemoteCommandEntry remote_commands[] = { { NULL, "--config-load:", gr_config_load, TRUE, FALSE, N_("|layout ID"), N_("load configuration from FILE") }, { NULL, "--get-sidecars:", gr_get_sidecars, TRUE, FALSE, N_(""), N_("get list of sidecars of FILE") }, { NULL, "--get-destination:", gr_get_destination, TRUE, FALSE, N_(""), N_("get destination path of FILE") }, - { NULL, "file:", gr_file_load, TRUE, FALSE, N_(""), N_("open FILE, bring Geeqie window to the top") }, - { NULL, "--file:", gr_file_load, TRUE, FALSE, N_(""), N_("open FILE, bring Geeqie window to the top") }, - { NULL, "File:", gr_file_load_no_raise, TRUE, FALSE, N_(""), N_("open FILE, do not bring Geeqie window to the top") }, - { NULL, "--File:", gr_file_load_no_raise, TRUE, FALSE, N_(""), N_("open FILE, do not bring Geeqie window to the top") }, + { NULL, "file:", gr_file_load, TRUE, FALSE, N_("|"), N_("open FILE or URL, bring Geeqie window to the top") }, + { NULL, "--file:", gr_file_load, TRUE, FALSE, N_("|"), N_("open FILE or URL, bring Geeqie window to the top") }, + { NULL, "File:", gr_file_load_no_raise, TRUE, FALSE, N_("|"), N_("open FILE or URL, do not bring Geeqie window to the top") }, + { NULL, "--File:", gr_file_load_no_raise, TRUE, FALSE, N_("|"), 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") },