From 52bfd1fc3d6c1e6610469dbddad19aacb4e7f848 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 4 Sep 2019 12:14:35 +0200 Subject: added man pages --- src/afl-gotcpu.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/afl-gotcpu.c') diff --git a/src/afl-gotcpu.c b/src/afl-gotcpu.c index a39659bb..85864c6f 100644 --- a/src/afl-gotcpu.c +++ b/src/afl-gotcpu.c @@ -127,6 +127,14 @@ repeat_loop: int main(int argc, char** argv) { + if (argc > 1) { + printf("afl-gotcpu" VERSION " by \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; -- cgit 1.4.1