mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
fixup! analyzer: add help and long options to cli
This commit is contained in:
@@ -479,14 +479,14 @@ int main(const int argc, char** argv)
|
||||
try
|
||||
{
|
||||
auto args = bundle_arguments(argc, argv);
|
||||
const auto options = parse_options(args);
|
||||
|
||||
if (args.empty() && options.dump.empty())
|
||||
if (args.empty())
|
||||
{
|
||||
print_help();
|
||||
return 1;
|
||||
}
|
||||
|
||||
const auto options = parse_options(args);
|
||||
|
||||
bool result{};
|
||||
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user