about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-02-16 21:56:40 +0100
committerhexcoder- <heiko@hexco.de>2020-02-16 21:56:40 +0100
commit0ad698ffbf221538976074299179bba675317879 (patch)
tree94099f4382d27870c62c7a152220262d34ac404f /src
parentb670ba182e266b674a6d0389774d78de960abf57 (diff)
downloadafl++-0ad698ffbf221538976074299179bba675317879.tar.gz
add option -h and man page for afl-as
Diffstat (limited to 'src')
-rw-r--r--src/afl-as.c2
1 files changed, 1 insertions, 1 deletions
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"