summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xperc4
1 files changed, 2 insertions, 2 deletions
diff --git a/perc b/perc
index 4867c34..f5283c0 100755
--- a/perc
+++ b/perc
@@ -64,7 +64,7 @@ import math
from datetime import datetime, date, timedelta, time
PROG = "perc"
-VERSION = "3.4"
+VERSION = "3.5"
CONFIG_FILE = "perc.cfg"
CUSTOM_CONFIG_FILE = "custom_perc.cfg"
@@ -722,7 +722,7 @@ def admin(args):
def user(args):
global options
- parser = optparse.OptionParser("{0} <finish> [options] | {0} <start> <finish> [options]. Custom Events: {1}".format(PROG, ", ".join(CUSTOM_CONFIG["EVENTS"].keys() if "EVENTS" in CUSTOM_CONFIG else [])))
+ parser = optparse.OptionParser("{0} <finish> [options] | {0} <start> <finish> [options] | {0} admin -a <name> -s <start> -f <finish>".format(PROG)) #"Custom Events: {1}".format(PROG, ", ".join(CUSTOM_CONFIG["EVENTS"].keys() if "EVENTS" in CUSTOM_CONFIG else [])))
parser.add_option("-v", "--version", action="store_true", dest="version", help="Display the version of %s" % PROG)
parser.add_option("-s", "--start", action="store", dest="start", help="The start time of your particular day")
parser.add_option("-f", "--finish", action="store", dest="finish", help="The finish time of your particular day")