Skip to content

Commit

Permalink
fix --generate
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 6, 2024
1 parent 13137e5 commit 5281c4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion refguid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

void show_version(void)
{
std::puts("refguid version 1.5 by katahiromz");
std::puts("refguid version 1.6 by katahiromz");
}

void usage(void)
Expand Down Expand Up @@ -518,10 +518,12 @@ int _wmain(int argc, wchar_t **argv)
auto define_guid = getDefineGUIDFromGUID(entry.guid, entry.name.c_str());
std::printf("%ls\n", define_guid.c_str());
}
return 0;
}
else if (lstrcmpiW(arg.c_str(), L"--generate") == 0)
{
RandomData(guid);
bSuccess = TRUE;
}
else if (lstrcmpiW(arg.c_str(), L"--search") == 0)
{
Expand Down

0 comments on commit 5281c4b

Please sign in to comment.