about summary refs log tree commit diff
path: root/src/afl-gotcpu.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-09-04 12:14:35 +0200
committervan Hauser <vh@thc.org>2019-09-04 12:14:35 +0200
commit52bfd1fc3d6c1e6610469dbddad19aacb4e7f848 (patch)
treeb5de5e1cbcdc096a7d57e82aa0edb89d23baa26d /src/afl-gotcpu.c
parenta8d96967c426f031d61dd91287906a28975334fb (diff)
downloadafl++-52bfd1fc3d6c1e6610469dbddad19aacb4e7f848.tar.gz
added man pages
Diffstat (limited to 'src/afl-gotcpu.c')
-rw-r--r--src/afl-gotcpu.c8
1 files changed, 8 insertions, 0 deletions
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 <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;