diff --git a/ospd/parser.py b/ospd/parser.py
index <HASH>..<HASH> 100644
--- a/ospd/parser.py
+++ b/ospd/parser.py
@@ -35,6 +35,7 @@ DEFAULT_CONFIG_PATH = "~/.config/ospd.conf"
 DEFAULT_UNIX_SOCKET_PATH = "/var/run/ospd/ospd.sock"
 DEFAULT_PID_PATH = "/var/run/ospd.pid"
 DEFAULT_STREAM_TIMEOUT = 10  # ten seconds
+DEFAULT_SCANINFO_STORE_TIME = 0  # in hours
 
 ParserType = argparse.ArgumentParser
 Arguments = argparse.Namespace
@@ -139,6 +140,14 @@ class CliParser:
             type=int,
             help='Start the scan with the given niceness. Default %(default)s',
         )
+        parser.add_argument(
+            '--scaninfo-store-time',
+            default=DEFAULT_SCANINFO_STORE_TIME,
+            type=int,
+            help='Time in hours a scan is stored before being considered '
+            'forgotten and being delete from the scan table. '
+            'Default %(default)s, disabled.',
+        )
 
         self.parser = parser
Add scaninfo-store time command line option
It defines the max time in hours that forgotten scan will be kept in memory
befor being automatically deleted from the scan table.