Reduce unnecessary indentation.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b23347f61a
commit
46c7ab4a82
|
@ -50,21 +50,19 @@ int App::main(const std::vector<std::string> &args)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (_argument_error)
|
||||||
{
|
{
|
||||||
if (_argument_error)
|
return 1;
|
||||||
{
|
}
|
||||||
return 1;
|
if (!args.empty())
|
||||||
}
|
{
|
||||||
if (!args.empty())
|
_uri = args[0];
|
||||||
{
|
}
|
||||||
_uri = args[0];
|
if (_uri.empty() && _format == export_format::undefined)
|
||||||
}
|
{
|
||||||
if (_uri.empty() && _format == export_format::undefined)
|
cerr << "Error: You have to specify either an URI or --export.\n";
|
||||||
{
|
return 1;
|
||||||
cerr << "Error: You have to specify either an URI or --export.\n";
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Database db;
|
Database db;
|
||||||
|
|
Loading…
Reference in New Issue