mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-16 19:32:07 +00:00
Rez: create empty / data-only output file if output file name is explicitly given, but no input
This commit is contained in:
parent
bcfcbb90a3
commit
24d9c90686
@ -79,7 +79,9 @@ int main(int argc, const char *argv[])
|
||||
|
||||
po::notify(options);
|
||||
|
||||
if(options.count("help") || (!options.count("input") && !options.count("copy")))
|
||||
if(options.count("help")
|
||||
|| (!options.count("input") && !options.count("copy")
|
||||
&& !options.count("output")))
|
||||
{
|
||||
usage();
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user