-missing -m option for arglist

This commit is contained in:
Martin Konecny 2012-04-21 20:20:05 -04:00
parent dae8682e51
commit a4dc68c465

View file

@ -42,7 +42,7 @@ def find_liquidsoap_binary():
return None return None
optlist, args = getopt.getopt(sys.argv[1:], 'hvo:H:P:u:p:') optlist, args = getopt.getopt(sys.argv[1:], 'hvo:H:P:u:p:m:')
stream_types = set(["shoutcast", "icecast"]) stream_types = set(["shoutcast", "icecast"])
verbose = False verbose = False
@ -102,6 +102,8 @@ try:
if not verbose: if not verbose:
command += " 2>/dev/null | grep \"failed\"" command += " 2>/dev/null | grep \"failed\""
else:
print command
#print command #print command
rv = subprocess.call(command, shell=True) rv = subprocess.call(command, shell=True)