[geary/wip/gtk-args-722463] Add mailto: command line docs
- From: Charles Lindsay <clindsay src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/gtk-args-722463] Add mailto: command line docs
- Date: Tue, 28 Jan 2014 22:40:52 +0000 (UTC)
commit 288c80ab705b054a345f23978ba3aa55fe784855
Author: Charles Lindsay <chaz yorba org>
Date: Tue Jan 28 14:40:38 2014 -0800
Add mailto: command line docs
src/client/application/geary-args.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/geary-args.vala b/src/client/application/geary-args.vala
index b172b0f..a7cc578 100644
--- a/src/client/application/geary-args.vala
+++ b/src/client/application/geary-args.vala
@@ -39,10 +39,12 @@ public bool inspector = false;
public bool version = false;
public bool parse(string[] args) {
- var context = new OptionContext("");
+ var context = new OptionContext("[%s...]".printf(Geary.ComposedEmail.MAILTO_SCHEME));
context.set_help_enabled(true);
context.add_main_entries(options, null);
- context.set_description("%s\n\n%s\n\t%s\n".printf(
+ context.set_description("%s\n\n%s\n\n%s\n\t%s\n".printf(
+ // This gives a command-line hint on how to open new composer windows with mailto:
+ _("Use %s to open a new composer window").printf(Geary.ComposedEmail.MAILTO_SCHEME),
GearyApplication.COPYRIGHT, _("Please report comments, suggestions and bugs to:"),
GearyApplication.BUGREPORT));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]