Skip to content

Commit

Permalink
injector
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Jun 6, 2013
1 parent 28a569a commit ffdb085
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DynamicPatcherInjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ bool TryInject(const char *process_name, const char *dllname)

int main(int argc, char *argv[])
{
if(argc<2) { printf("usage: DynamicPatcherInjector target_process_name.exe config_file_path.dpconf(optional)\n"); }
if(argc<2) {
printf("usage: DynamicPatcherInjector [target_proces.exe] [config_file.dpconf(optional)]\n");
return 1;
}

bool ok = true;
if(argc>=3) { ok=g_option.load(argv[2]) ;}
Expand Down

0 comments on commit ffdb085

Please sign in to comment.