test/hangup | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
this is a case where you should have done a summary email to describe
why are you doing things.
diff --git a/test/hangup b/test/hangup
index 6444b23..60858a8 100755
@@ -3,6 +3,16 @@
+if (len(sys.argv) < 2):
+ print "Usage: %s <call state>" % (sys.argv)
+cstate = sys.argv
+if cstate != "active" and cstate != "waiting" and cstate !=
+ print "Valid <call state> is active / waiting / held"
If you wanna do things like this, then at least the call without
parameter should list the current calls and in what state they are.
Otherwise this is making things worse.
And don't bother renaming the script first. Just introduce a new script
and delete the duplicate later on.