Commit 16dec480 authored by Nico Schottelius's avatar Nico Schottelius

Merge pull request #20 from darko-poljak/fix-typo-and-man

Fix typo and man.text.
parents ebcb7aa7 b3f4dec1
...@@ -16,8 +16,8 @@ ctt listprojects [-h] [-d] [-v] ...@@ -16,8 +16,8 @@ ctt listprojects [-h] [-d] [-v]
ctt track [-h] [-d] [-v] [--sd START] [--ed END] [-n] project ctt track [-h] [-d] [-v] [--sd START] [--ed END] [-n] project
ctt report [-h] [-d] [-v] [--sd START] [--ed END] [-e REGEXP] [-i] ctt report [-h] [-d] [-v] [--sd START] [--ed END] [-a] [-e REGEXP] [-i]
[-f OUTPUT_FORMAT] [-f OUTPUT_FORMAT] [-s]
project project
...@@ -70,12 +70,16 @@ Available parameters: ...@@ -70,12 +70,16 @@ Available parameters:
start date (default: first of this month, format: Y-m-d) start date (default: first of this month, format: Y-m-d)
--ed END, --end END:: --ed END, --end END::
end date (default: last of this month, format: Y-m-d) end date (default: last of this month, format: Y-m-d)
-a, --all::
List entries for all projects
-e REGEXP, --regexp REGEXP:: -e REGEXP, --regexp REGEXP::
regular expression to match regular expression to match
-i, --ignore-case:: -i, --ignore-case::
ignore case distinctions ignore case distinctions
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT:: -f OUTPUT_FORMAT, --format OUTPUT_FORMAT::
output format (default: {start_datetime} ({delta}): {comment}) 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: Output format may reference the following fields:
......
...@@ -79,7 +79,7 @@ def parse_argv(argv, version): ...@@ -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("-i", "--ignore-case", help="ignore case distinctions", action="store_true")
parser['report'].add_argument("-f", "--format", help="output format (default: %s)" % ctt.REPORTFORMAT, parser['report'].add_argument("-f", "--format", help="output format (default: %s)" % ctt.REPORTFORMAT,
default=ctt.REPORTFORMAT, dest="output_format") 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", #parser['track'].add_argument("-t", "--tag", help="Add tags",
# action="store_true") # action="store_true")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment