From 6f3c7334d080254a9b20391df7609f50c3aef2a6 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Sun, 13 May 2018 17:45:06 +0200 Subject: [PATCH] #21 Update man page --- doc/man/timew.1.in | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/man/timew.1.in b/doc/man/timew.1.in index 07d6d7fe..b710519b 100644 --- a/doc/man/timew.1.in +++ b/doc/man/timew.1.in @@ -375,7 +375,7 @@ modification. See also 'day', 'week', 'month', 'shorten', 'lengthen', 'tag', 'untag'. .TP -.B timew tag @ [@ ...] [ ...] +.B timew tag [@ ...] ... The 'tag' command is used to add a tag to an interval. Using the 'summary' command, and specifying the ':ids' hint shows interval IDs. Using the right ID, you can identify an interval to tag. For example, show the IDs: @@ -390,6 +390,13 @@ Note that you can tag multiple intervals, with multiple tags: $ timew tag @2 @10 @23 'Tag One' tag2 tag3 +If there is active time tracking, you can omit the ID when you want to add tags to the current open interval: + + $ timew start foo + $ timew tag bar + +This results in the current interval having tags 'foo' and 'bar'. + See also 'summary', 'shorten', 'lengthen', 'untag'. .TP @@ -410,7 +417,7 @@ recording. If a closed interval is not provided, the 'track' command behaves the same as the 'start' command. .TP -.B timew untag @ [@ ...] [ ...] +.B timew untag [@ ...] ... The 'untag' command is used to remove a tag from an interval. Using the 'summary' command, and specifying the ':ids' hint shows interval IDs. Using the right ID, you can identify an interval to untag. For example, show the IDs: @@ -425,6 +432,13 @@ Note that you can untag multiple intervals, with multiple tags: $ timew untag @2 @10 @23 'Old Tag' tag2 tag3 +If there is active time tracking, you can omit the ID when you want to remove tags from the current open interval: + + $ timew start foo bar + $ timew untag bar + +This results in the current interval having tag 'foo' but not 'bar'. + See also 'summary', 'shorten', 'lengthen', 'tag'. .TP