Added documentation for “simple” export.

This commit is contained in:
tastytea 2019-07-21 16:39:36 +02:00
parent 71bce0c87d
commit f2917abb3b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 8 additions and 4 deletions

View File

@ -15,7 +15,7 @@ remwharead - Saves URIs of things you want to remember in a database
*remwharead* [*-t* _tags_] [*-N*] _URI_
*remwharead* *-e* _format_ [*-f* _file_] [*-T* _start_,_end_] [[*-s*|*-S*] _expression_]
*remwharead* *-e* [_format_] [*-f* _file_] [*-T* _start_,_end_] [[*-s*|*-S*] _expression_]
== DESCRIPTION
@ -35,8 +35,8 @@ https://archive.org/[Internet Archive].
Add tags to _URI_, delimited by commas.
*-e* _format_, *--export* _format_::
Export to _format_. Possible values are _csv_, _asciidoc_ and _bookmarks_. See
_FORMATS_.
Export to _format_. Possible values are _csv_, _asciidoc_, _bookmarks_ or
_simple_ (default). See _FORMATS_.
*-f* _file_, *--file* _file_::
Save output to _file_. Default is stdout.
@ -120,6 +120,10 @@ https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-
Bookmark file format] is a format for exporting and importing bookmarks that is
understood by most browsers.
=== simple
Simple, human readable, list. Outputs date, title and URI.
== SEARCH EXPRESSIONS
A search expression is either a single term, or several terms separated by _AND_

View File

@ -70,7 +70,7 @@ const options parse_options(const int argc, const char *argv[])
{
cout << "Usage: " << argv[0] << " [-t tags] [-N] URI\n"
<< " " << argv[0]
<< " -e format [-f file] [-T start,end] "
<< " -e [format] [-f file] [-T start,end] "
<< "[[-s|-S] expression]\n";
cout << op;
return options(0);