From 2d25662b814afea6943d2823c2df746e2f5b4a2d Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 25 Feb 2020 21:41:31 +0100 Subject: man page tuning --- src/afl-as.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/afl-as.c') 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); -- cgit 1.4.1