Skip to content

Commit

Permalink
Fix typo and man.text.
Browse files Browse the repository at this point in the history
  • Loading branch information
darko-poljak committed May 24, 2016
1 parent ebcb7aa commit b3f4dec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions ctt.text
Expand Up @@ -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


Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion scripts/ctt
Expand Up @@ -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")
Expand Down

0 comments on commit b3f4dec

Please sign in to comment.