[Xfce4-commits] <postler:master> Document the syntax of mailto URIs on command line

Christian Dywan noreply at xfce.org
Tue Dec 14 20:52:05 CET 2010


Updating branch refs/heads/master
         to 3f66dfee255b18bf3fb5d0298609b7820c553dab (commit)
       from ae401eb7eb1ac8495d2d24290e0d072f86560a60 (commit)

commit 3f66dfee255b18bf3fb5d0298609b7820c553dab
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Dec 13 21:15:59 2010 +0100

    Document the syntax of mailto URIs on command line

 postler/postler-reader.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index cb75427..9caf26e 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -29,7 +29,9 @@ public class Postler.Reader {
         Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
         Intl.textdomain (Config.GETTEXT_PACKAGE);
 
-        var context = new GLib.OptionContext (_("[FILENAME...]"));
+        var context = new GLib.OptionContext (_(
+            "[mailto:][ADDRESS][?subject=SUBJECT]"
+          + "[&from=FROM][&to=TO][&cc=COPY][&attach=ATTACHMENT]"));
         context.set_help_enabled (true);
         context.add_main_entries (options, null);
         context.add_group (Gtk.get_option_group (true));



More information about the Xfce4-commits mailing list