Open Source Telephony
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: ofono@ofono.org
Subject: Better help text for dial-number
Date: Fri, 01 Feb 2019 22:00:56 +0100	[thread overview]
Message-ID: <20190201210056.GA10509@amd> (raw)

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]


Better help text for "dial-number". Without details, user may be
tempted to pass 0|1 (as send-sms uses) or true|false.

diff --git a/test/dial-number b/test/dial-number
index fe5adad3..4c0ee142 100755
--- a/test/dial-number
+++ b/test/dial-number
@@ -4,7 +4,8 @@ import sys
 import dbus
 
 if (len(sys.argv) < 2):
-	print("Usage: %s [modem] <number> [hide_callerid]" % (sys.argv[0]))
+	print("Usage: %s [modem] <number> [enabled|disabled|default]" % (sys.argv[0]))
+	print("Last argument enables/disables callerid")
 	sys.exit(1)
 
 bus = dbus.SystemBus()

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2019-02-01 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-01 21:00 Pavel Machek [this message]
2019-02-02 15:26 ` Better help text for dial-number Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190201210056.GA10509@amd \
    --to=pavel@ucw.cz \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox