From 823f9627d370ec9ebf2639969b1a9605a178b635 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Sat, 16 Aug 2014 19:39:59 -0400 Subject: Fix conflicting argument on the command line --- pushover.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'pushover.py') 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") -- cgit v1.2.3-70-g09d2