summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-11 18:22:05 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-11 18:33:57 +0100
commit07954626c6925f22e4d59b6d68f0947d4e54b8b9 (patch)
treee691a26dbb8ada6f708f08c529c1e8af826d61e2 /doc
parentfe0621bafd21acaf9909cb2f8ea65fa56560faed (diff)
downloadcalcurse-07954626c6925f22e4d59b6d68f0947d4e54b8b9.tar.gz
calcurse-07954626c6925f22e4d59b6d68f0947d4e54b8b9.zip
Support format strings when dumping imported items
In commit 3eae7ce (Add --list-imported command line option, 2016-01-12), we added an option to print the hashes of imported items to stdout. Extend this command line option such that it dumps the items using the specified formatting strings. With the new behavior it is, for example, easier to check items for import errors. Also, rename the option from --list-imported to --dump-imported (it is not part of any official release yet so we do not need to care about backwards compatibility). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/calcurse.1.txt6
-rw-r--r--doc/manual.txt6
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/calcurse.1.txt b/doc/calcurse.1.txt
index 9a967a1..9fc37b6 100644
--- a/doc/calcurse.1.txt
+++ b/doc/calcurse.1.txt
@@ -135,8 +135,10 @@ appointments can be specified using the *-c* flag.
*-l* <num>, *--limit* <num>::
Limit the number of results printed to 'num'.
-*--list-imported*::
- When importing items, print the hash of each newly created object to stdout.
+*--dump-imported*::
+ When importing items, print each newly created object to stdout. Format
+ strings can be used to specify which details are printed. See also:
+ 'Formatting Options'.
*-n*, *--next*::
Print the next appointment within upcoming 24 hours and exit. The indicated
diff --git a/doc/manual.txt b/doc/manual.txt
index b5c9825..d140dfa 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -328,8 +328,10 @@ can be specified using the `-c` flag.
`-l <num>, --limit <num>`::
Limit the number of results printed to 'num'.
-`--list-imported`::
- When importing items, print the hash of each newly created object to stdout.
+`--dump-imported`::
+ When importing items, print each newly created object to stdout. Format
+ strings can be used to specify which details are printed. See also:
+ <<basics_format_strings,Format strings>>.
`-n, --next`::
Print the next appointment within upcoming 24 hours and exit. The indicated