added man pages

This commit is contained in:
van Hauser
2019-09-04 12:14:35 +02:00
parent a8d96967c4
commit 52bfd1fc3d
16 changed files with 135 additions and 16 deletions

View File

@ -127,6 +127,14 @@ repeat_loop:
int main(int argc, char** argv) {
if (argc > 1) {
printf("afl-gotcpu" VERSION " by <lcamtuf@google.com>\n");
printf("\n%s \n\n", argv[0]);
printf("afl-gotcpu does not have command line options\n");
printf("afl-gotcpu prints out which CPUs are available\n");
return -1;
}
#ifdef HAVE_AFFINITY
u32 cpu_cnt = sysconf(_SC_NPROCESSORS_ONLN), idle_cpus = 0, maybe_cpus = 0, i;