Remove from the documentation the command line options that are not
preceded by a hyphen.
These are: file, File, raise, view
These options are still processed - just no longer shown in help/man.
<refmeta>
<refentrytitle>GEEQIE</refentrytitle>
<manvolnum>1</manvolnum>
<refmeta>
<refentrytitle>GEEQIE</refentrytitle>
<manvolnum>1</manvolnum>
-<refmiscinfo class='source'>August 2023</refmiscinfo>
-<refmiscinfo class='manual'>Geeqie 2.1+git20230810-c41eb43c GTK3</refmiscinfo>
+<refmiscinfo class='source'>October 2023</refmiscinfo>
+<refmiscinfo class='manual'>Geeqie 2.1+git20231016-1a72d946 GTK3</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Geeqie</refname>
</refmeta>
<refnamediv>
<refname>Geeqie</refname>
<para>Generated for version:</para>
<para>Generated for version:</para>
-<para>Geeqie 2.1+git20230810-c41eb43c</para>
+<para>Geeqie 2.1+git20231016-1a72d946</para>
<refsect2 id='valid_options'><title>Valid options:</title>
<variablelist remap='TP'>
<refsect2 id='valid_options'><title>Valid options:</title>
<variablelist remap='TP'>
<varlistentry>
<term><emphasis role='strong' remap='B'>--file</emphasis>:<FILE>|<URL></term>
<listitem>
<varlistentry>
<term><emphasis role='strong' remap='B'>--file</emphasis>:<FILE>|<URL></term>
<listitem>
-<para>open FILE or URL, bring Geeqie window to the top</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>file:<FILE>|<URL></term>
- <listitem>
<para>open FILE or URL, bring Geeqie window to the top</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role='strong' remap='B'>--File</emphasis>:<FILE>|<URL></term>
<listitem>
<para>open FILE or URL, bring Geeqie window to the top</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role='strong' remap='B'>--File</emphasis>:<FILE>|<URL></term>
<listitem>
-<para>open FILE or URL, do not bring Geeqie window to the top</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>File:<FILE>|<URL></term>
- <listitem>
<para>open FILE or URL, do not bring Geeqie window to the top</para>
</listitem>
</varlistentry>
<para>open FILE or URL, do not bring Geeqie window to the top</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role='strong' remap='B'>--raise</emphasis></term>
<listitem>
<varlistentry>
<term><emphasis role='strong' remap='B'>--raise</emphasis></term>
<listitem>
-<para>bring the Geeqie window to the top</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>raise</term>
- <listitem>
<para>bring the Geeqie window to the top</para>
</listitem>
</varlistentry>
<para>bring the Geeqie window to the top</para>
</listitem>
</varlistentry>
<term><emphasis role='strong' remap='B'>--view</emphasis>:<FILE></term>
<listitem>
<para>open FILE in new window</para>
<term><emphasis role='strong' remap='B'>--view</emphasis>:<FILE></term>
<listitem>
<para>open FILE in new window</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>view:<FILE></term>
- <listitem>
-<para>open FILE in new window</para>
<para>All other command line parameters are used as plain files if they exist.</para>
<para>All other command line parameters are used as plain files if they exist.</para>
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
-.TH GEEQIE "1" "August 2023" "Geeqie 2.1+git20230810-c41eb43c GTK3" "User Commands"
+.TH GEEQIE "1" "October 2023" "Geeqie 2.1+git20231016-1a72d946 GTK3" "User Commands"
.SH NAME
Geeqie - GTK based multiformat image viewer
.SH SYNOPSIS
.SH NAME
Geeqie - GTK based multiformat image viewer
.SH SYNOPSIS
Generated for version:
.PP
Generated for version:
.PP
-Geeqie 2.1+git20230810\-c41eb43c
+Geeqie 2.1+git20231016\-1a72d946
.SS "Valid options:"
.TP
\fB\-\-blank\fR
.SS "Valid options:"
.TP
\fB\-\-blank\fR
\fB\-\-file\fR:<FILE>|<URL>
open FILE or URL, bring Geeqie window to the top
.TP
\fB\-\-file\fR:<FILE>|<URL>
open FILE or URL, bring Geeqie window to the top
.TP
-file:<FILE>|<URL>
-open FILE or URL, bring Geeqie window to the top
-.TP
\fB\-\-File\fR:<FILE>|<URL>
open FILE or URL, do not bring Geeqie window to the top
.TP
\fB\-\-File\fR:<FILE>|<URL>
open FILE or URL, do not bring Geeqie window to the top
.TP
-File:<FILE>|<URL>
-open FILE or URL, do not bring Geeqie window to the top
-.TP
\fB\-fs\fR \fB\-\-fullscreen\-start\fR
start full screen
.TP
\fB\-fs\fR \fB\-\-fullscreen\-start\fR
start full screen
.TP
\fB\-\-raise\fR
bring the Geeqie window to the top
.TP
\fB\-\-raise\fR
bring the Geeqie window to the top
.TP
-raise
-bring the Geeqie window to the top
-.TP
\fB\-\-selection\-add\fR:[<FILE>]
adds the current file (or the specified file) to the current selection
.TP
\fB\-\-selection\-add\fR:[<FILE>]
adds the current file (or the specified file) to the current selection
.TP
.TP
\fB\-\-view\fR:<FILE>
open FILE in new window
.TP
\fB\-\-view\fR:<FILE>
open FILE in new window
-.TP
-view:<FILE>
-open FILE in new window
.IP
All other command line parameters are used as plain files if they exist.
.IP
.IP
All other command line parameters are used as plain files if they exist.
.IP
{
s_opt_param = g_strdup(remote_commands[i].opt_s ? remote_commands[i].opt_s : "" );
l_opt_param = g_strconcat(remote_commands[i].opt_l, remote_commands[i].parameter, NULL);
{
s_opt_param = g_strdup(remote_commands[i].opt_s ? remote_commands[i].opt_s : "" );
l_opt_param = g_strconcat(remote_commands[i].opt_l, remote_commands[i].parameter, NULL);
- printf_term(FALSE, " %-4s %-40s%-s\n",
- s_opt_param,
- l_opt_param,
- _(remote_commands[i].description));
+
+ if (g_str_has_prefix(l_opt_param, "--"))
+ {
+ printf_term(FALSE, " %-4s %-40s%-s\n", s_opt_param, l_opt_param, _(remote_commands[i].description));
+ }
g_free(s_opt_param);
g_free(l_opt_param);
}
g_free(s_opt_param);
g_free(l_opt_param);
}