Changed short option for --span from -s to -S.
This commit is contained in:
parent
49c89a0340
commit
d4314c3f1c
|
@ -34,7 +34,7 @@ Export to _format_. Possible values are _csv_ and _asciidoc_. See _FORMATS_.
|
|||
*-f* _file_, *--file* _file_::
|
||||
Save output to _file_. Default is stdout.
|
||||
|
||||
*-s* _start_,_end_, *--span* _start_,_end_::
|
||||
*-S* _start_,_end_, *--span* _start_,_end_::
|
||||
Only export entries between and including _start_ and _end_. _start_ and _end_
|
||||
are date and time representations according to ISO 8601
|
||||
(YYYY-MM-DDThh:mm:ss). Time zones are ignored.
|
||||
|
|
|
@ -49,7 +49,7 @@ const options parse_options(const int argc, const char *argv[])
|
|||
op.add<popl::Value<string>>
|
||||
("f", "file", "Save output to file.", "", &file);
|
||||
op.add<popl::Value<string>>
|
||||
("s", "span", "Only export entries between YYYY-MM-DD,YYYY-MM-DD.",
|
||||
("S", "span", "Only export entries between YYYY-MM-DD,YYYY-MM-DD.",
|
||||
"", &span);
|
||||
auto option_help = op.add<popl::Switch>
|
||||
("h", "help", "Show this help message.");
|
||||
|
@ -61,7 +61,7 @@ const options parse_options(const int argc, const char *argv[])
|
|||
{
|
||||
cout << "Usage: " << argv[0] << " [-t tags] URI\n"
|
||||
<< " " << argv[0]
|
||||
<< " -e format [-f file] [-s start,end]\n";
|
||||
<< " -e format [-f file] [-S start,end]\n";
|
||||
cout << op;
|
||||
return options(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue