From b3f4dec1d8473006626132fbc3eab62b0625351e Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Tue, 24 May 2016 07:16:25 +0200 Subject: [PATCH] Fix typo and man.text. --- ctt.text | 8 ++++++-- scripts/ctt | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ctt.text b/ctt.text index fe5af36..484778f 100644 --- a/ctt.text +++ b/ctt.text @@ -16,8 +16,8 @@ ctt listprojects [-h] [-d] [-v] ctt track [-h] [-d] [-v] [--sd START] [--ed END] [-n] project -ctt report [-h] [-d] [-v] [--sd START] [--ed END] [-e REGEXP] [-i] - [-f OUTPUT_FORMAT] +ctt report [-h] [-d] [-v] [--sd START] [--ed END] [-a] [-e REGEXP] [-i] + [-f OUTPUT_FORMAT] [-s] project @@ -70,12 +70,16 @@ Available parameters: start date (default: first of this month, format: Y-m-d) --ed END, --end END:: end date (default: last of this month, format: Y-m-d) +-a, --all:: + List entries for all projects -e REGEXP, --regexp REGEXP:: regular expression to match -i, --ignore-case:: ignore case distinctions -f OUTPUT_FORMAT, --format OUTPUT_FORMAT:: output format (default: {start_datetime} ({delta}): {comment}) +-s, --summary:: + hide project names and list time entries in chronological order Output format may reference the following fields: diff --git a/scripts/ctt b/scripts/ctt index a585206..e9ad42b 100755 --- a/scripts/ctt +++ b/scripts/ctt @@ -79,7 +79,7 @@ def parse_argv(argv, version): parser['report'].add_argument("-i", "--ignore-case", help="ignore case distinctions", action="store_true") parser['report'].add_argument("-f", "--format", help="output format (default: %s)" % ctt.REPORTFORMAT, default=ctt.REPORTFORMAT, dest="output_format") - parser['report'].add_argument("-s", "--summary", help="hie project names and list time entries in chronological order", action="store_true") + parser['report'].add_argument("-s", "--summary", help="hide project names and list time entries in chronological order", action="store_true") #parser['track'].add_argument("-t", "--tag", help="Add tags", # action="store_true")