about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/afl-as.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ea991cd3..0e20f226 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ VERSION     = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f
 
 PROGS       = afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze
 SH_PROGS    = afl-plot afl-cmin afl-cmin.bash afl-whatsup afl-system-config
-MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8)
+MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8) afl-as.8
 
 ifeq "$(shell echo 'int main() {return 0; }' | $(CC) -x c - -flto=full -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
 	CFLAGS_FLTO ?= -flto=full
diff --git a/src/afl-as.c b/src/afl-as.c
index 941105df..966a36bb 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -518,7 +518,7 @@ int main(int argc, char** argv) {
 
     be_quiet = 1;
 
-  if (argc < 2) {
+  if (argc < 2 || (argc == 2 && strcmp(argv[1], "-h") == 0)) {
 
     SAYF(
         "\n"