tools: make tuhi-live --verbose actually work
The argparser in tuhi.base.main() drops argv[0], so we have to add a fake argument here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bffe41fbb6
commit
2d95848cee
|
@ -56,7 +56,7 @@ def maybe_start_tuhi(queue):
|
|||
sys.path.append(os.getcwd())
|
||||
|
||||
import tuhi.base
|
||||
args = []
|
||||
args = ['tuhi-live'] # argparse in tuhi.base.main skips argv[0]
|
||||
if verbose:
|
||||
args.append('--verbose')
|
||||
|
||||
|
|
Loading…
Reference in New Issue