docs: Document the 'resize' command in the man page

This commit is contained in:
Tomas Babej 2017-01-09 19:19:38 +01:00 committed by Paul Beckingham
parent 50f42a84df
commit d830d8fcff

View file

@ -178,7 +178,7 @@ Then having selected '@1' and '@2' as the intervals you wish to join:
$ timew join @1 @2 $ timew join @1 @2
See also 'split', 'lengthen', 'shorten'. See also 'split', 'lengthen', 'shorten', 'resize'.
.TP .TP
.B timew lengthen @<id> [@<id> ...] <duration> .B timew lengthen @<id> [@<id> ...] <duration>
@ -197,7 +197,7 @@ Note that you can lengthen multiple intervals,:
$ timew lengthen @2 @10 @23 1hour $ timew lengthen @2 @10 @23 1hour
See also 'summary', 'tag', 'untag', 'shorten'. See also 'summary', 'tag', 'untag', 'shorten', 'resize'.
.TP .TP
.B timew month [<interval>] [<tag> ...] .B timew month [<interval>] [<tag> ...]
@ -233,7 +233,7 @@ Then having selected '@2' as the interval you wish to move:
$ timew move @2 9am $ timew move @2 9am
See also 'summary', 'tag', 'untag', 'lengthen', 'shorten'. See also 'summary', 'tag', 'untag', 'lengthen', 'shorten', 'resize'.
.TP .TP
.B timew [report] <report> [<interval>] [<tag> ...] .B timew [report] <report> [<interval>] [<tag> ...]
@ -246,6 +246,25 @@ are equivalent:
This does however assume there is a 'foo' extension installed. This does however assume there is a 'foo' extension installed.
.TP
.B timew resize @<id> [@<id> ...] <duration>
The 'resize' command is used to change the duration of a closed interval.
Using the 'resized' command, and specifying the ':ids' hint shows interval IDs.
Using the right ID, you can identify an interval to resize. For example, show
the IDs:
$ timew summary :week :ids
Then having selected '@3' as the interval you wish to resize:
$ timew resize @3 15mins
Note that you can resize multiple intervals,:
$ timew resize @3 @1 @13 1hour
See also 'summary', 'tag', 'untag', 'lengthen', 'shorten'.
.TP .TP
.B timew shorten @<id> [@<id> ...] <duration> .B timew shorten @<id> [@<id> ...] <duration>
The 'shorten' command is used to advance the end date of a closed interval. The 'shorten' command is used to advance the end date of a closed interval.
@ -263,7 +282,7 @@ Note that you can shorten multiple intervals,:
$ timew shorten @2 @10 @23 1hour $ timew shorten @2 @10 @23 1hour
See also 'summary', 'tag', 'untag', 'lengthen'. See also 'summary', 'tag', 'untag', 'lengthen', 'resize'.
.TP .TP
.B timew show .B timew show