Add instructions to ffdb.py when user is missing the app name to ffdb.py log command
This commit is contained in:
Родитель
6db29788b0
Коммит
d49e2d5970
|
@ -660,6 +660,9 @@ def main():
|
|||
else:
|
||||
print 'Web browser is not running!'
|
||||
elif sys.argv[1] == 'log':
|
||||
if len(sys.argv) < 3:
|
||||
print 'Error! No application name given! Usage: ' + sys.argv[0] + ' ' + sys.argv[1] + ' <app>'
|
||||
return 1
|
||||
clear = '-c' in sys.argv or '-clear' in sys.argv or '--clear' in sys.argv
|
||||
b2g_log(sys.argv[2], clear)
|
||||
elif sys.argv[1] == 'memory':
|
||||
|
|
Загрузка…
Ссылка в новой задаче