Add scan_time argument

This commit is contained in:
kimocoder
2018-02-26 13:45:50 +01:00
parent 085213f143
commit f4fc57a407
3 changed files with 18 additions and 3 deletions

View File

@@ -17,6 +17,12 @@ class Arguments(object):
# Global variables
glob = parser.add_argument_group('SETTINGS')
glob.add_argument('-s',
action='store',
dest='scan_time',
metavar='[scantime]',
type=int,
help=Color.s('Scan time to (default: {G}ask{W})'))
glob.add_argument('-i',
action='store',
dest='interface',