about summary refs log tree commit diff
path: root/src/afl-as.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-02-25 21:41:31 +0100
committerhexcoder- <heiko@hexco.de>2020-02-25 21:41:31 +0100
commit2d25662b814afea6943d2823c2df746e2f5b4a2d (patch)
tree975abcd2464bd18f0fa5afb0ab31f4ad4ec109a1 /src/afl-as.c
parent4bd736e1a79ada95ae4266be72c331106e580075 (diff)
downloadafl++-2d25662b814afea6943d2823c2df746e2f5b4a2d.tar.gz
man page tuning
Diffstat (limited to 'src/afl-as.c')
-rw-r--r--src/afl-as.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/afl-as.c b/src/afl-as.c
index 98bd3ff5..914848df 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -520,8 +520,9 @@ int main(int argc, char** argv) {
 
   if (argc < 2 || (argc == 2 && strcmp(argv[1], "-h") == 0)) {
 
-    SAYF(
-        "\n"
+    fprintf(stdout, 
+        "afl-as" VERSION " by Michal Zalewski\n"
+        "\n%s [-h]\n\n"
         "This is a helper application for afl-fuzz. It is a wrapper around GNU "
         "'as',\n"
         "executed by the toolchain whenever using afl-gcc or afl-clang. You "
@@ -545,7 +546,8 @@ int main(int argc, char** argv) {
         "AFL_KEEP_ASSEMBLY: leave instrumented assembly files\n"
         "AFL_AS_FORCE_INSTRUMENT: force instrumentation for asm sources\n"
         "AFL_HARDEN, AFL_USE_ASAN, AFL_USE_MSAN, AFL_USE_UBSAN:\n"
-        "  used in the instrumentation summary message\n");
+        "  used in the instrumentation summary message\n"
+        ,argv[0]);
 
     exit(1);