1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-24 08:45:45 +01:00

experimental/pluggablebackends:

- Remove --scan-interval option from daemon since its no longer needed.
This commit is contained in:
imdano
2008-08-24 08:36:07 +00:00
parent 37838ba057
commit 8e6c37fa4d

View File

@@ -1393,9 +1393,9 @@ def main(argv):
auto_scan = True
try:
opts, args = getopt.getopt(sys.argv[1:], 'fenoahi:',
opts, args = getopt.getopt(sys.argv[1:], 'fenoah:',
['help', 'no-daemon', 'no-poll', 'no-stderr', 'no-stdout',
'no-autoconnect', 'scan-interval'])
'no-autoconnect'])
except getopt.GetoptError:
# Print help information and exit
usage()
@@ -1416,8 +1416,6 @@ def main(argv):
auto_scan = False
if o in ('-n', '--no-poll'):
no_poll = True
if o in ('i', '--scan-interval'):
scan_interval = a
if do_daemonize: daemonize()