make help output a bit more useful
parent
50629a64e2
commit
895d9251a2
|
@ -164,6 +164,7 @@ int main(int argc, char** argv)
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
if(argc < 3) {
|
if(argc < 3) {
|
||||||
cout<<"Syntax: navcat storage start stop"<<endl;
|
cout<<"Syntax: navcat storage start stop"<<endl;
|
||||||
|
cout<<"Example: ./navcat storage \"2020-01-01 00:00\" \"2020-01-02 00:00\" | ./navdump "<<endl;
|
||||||
return(EXIT_FAILURE);
|
return(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
time_t startTime = parseTime(argv[2]);
|
time_t startTime = parseTime(argv[2]);
|
||||||
|
|
Loading…
Reference in New Issue