Commit 4eab72e1 authored by Cassio Kirch's avatar Cassio Kirch

Print date side by the parameters

parent d6d9d306
......@@ -164,6 +164,7 @@ printHelp()
int
main (int argc, char** argv)
{
setDate();
if (argc > 1u)
{
if (strcmp(argv[1], "-p") == 0)
......@@ -176,7 +177,6 @@ main (int argc, char** argv)
int returned = checkParameters();
if (returned != 0)
return returned;
setDate();
srand(time(NULL));
one_system();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment