aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-08-16 19:39:59 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2014-08-16 19:39:59 -0400
commit823f9627d370ec9ebf2639969b1a9605a178b635 (patch)
tree5a79870e02f96ef362565d40e806e6b568fc4710
parentc34c6754001592d3831e111e0609a9cf1bbd4ce8 (diff)
downloadpython-pushover-823f9627d370ec9ebf2639969b1a9605a178b635.tar.gz
Fix conflicting argument on the command line
-rw-r--r--pushover.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/pushover.py b/pushover.py
index 5a8ed4c..9cc3d1f 100644
--- a/pushover.py
+++ b/pushover.py
@@ -1,15 +1,3 @@
-"""After being imported, the module must be initialized by calling the
-:func:`init` function with a valid application token before sending messages.
-
-A typical use of the module looks like this::
-
- import pushover
-
- pushover.init("token")
- client = pushover.Client("client-id")
- client.send_message("Hello!", title="Hello", priority=1)
-"""
-
import time
from ConfigParser import RawConfigParser, NoSectionError
from argparse import ArgumentParser
@@ -271,7 +259,7 @@ def main():
parser.add_argument("--url-title", help="additional url title")
parser.add_argument("-c", "--config", help="configuration file",
default="~/.pushoverrc")
- parser.add_argument("-p", "--profile", help="profile to read in the\
+ parser.add_argument("--profile", help="profile to read in the\
configuration file (default: Default)",
default="Default")