[X2Go-Commits] [x2goserver] 09/15: x2goserver/bin/x2gooptionsstring: replace uses of C<> with B<> in cases where the generated output of the C<> sequence might enclose it in double quotes and creates confusing documentation strings.

git-admin at x2go.org git-admin at x2go.org
Thu Apr 15 11:15:02 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit e6e26ccf61bef071566b938a9c29c3251ce39737
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Apr 14 15:08:11 2021 +0200

    x2goserver/bin/x2gooptionsstring: replace uses of C<> with B<> in cases where the generated output of the C<> sequence might enclose it in double quotes and creates confusing documentation strings.
---
 debian/changelog                 | 3 +++
 x2goserver/bin/x2gooptionsstring | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 84ca3588..31109706 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -394,6 +394,9 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
     - x2goserver/bin/x2goresume-session: use printf more often instead of the
       not-so-portable echo builtin.
     - x2goserver/bin/x2goresume-session: fix err_msg => msg usage.
+    - x2goserver/bin/x2gooptionsstring: replace uses of C<> with B<> in cases
+      where the generated output of the C<> sequence might enclose it in
+      double quotes and creates confusing documentation strings.
   * debian/control:
     + Build-depend upon lsb-release for distro version detection.
   * debian/x2goserver.manpages:
diff --git a/x2goserver/bin/x2gooptionsstring b/x2goserver/bin/x2gooptionsstring
index 408baf36..dd89c9bf 100755
--- a/x2goserver/bin/x2gooptionsstring
+++ b/x2goserver/bin/x2gooptionsstring
@@ -921,7 +921,7 @@ Use the B<--compact> option to minimize the original options string, removing
 duplicated and empty entries.
 
 Assuming no error happened, the resulting options string is written to
-C<stdout>.
+B<stdout>.
 
 =item Extract
 
@@ -940,9 +940,9 @@ A full, proper key-value pair can be used to test for the existence of a
 key-value pair exactly as provided.
 
 Assuming no error happened, the extracted key-value pairs will be written to
-C<stdout>.
+B<stdout>.
 Each pair will be base64-encoded and, if multiple key-value pairs to extract
-have been provided, delimited via C<pipe> characters (C<|>).
+have been provided, delimited via B<pipe> characters (C<|>).
 
 Key-value pairs which haven't been found in the original options string, as
 well as potentially an empty key-value pair, will be represented as empty

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list