scan.py: don't run if the argument is -h or --help

Signed-off-by: Jerome Flesch <jflesch@gmail.com>