Fixed wording...

This commit is contained in:
Gino D
2023-01-08 01:51:31 +01:00
parent 2599d822e5
commit 1751de7dff

View File

@@ -297,7 +297,7 @@ class Pyboard(object):
time.sleep(0.01)
else:
raise Exception('Terminal: could not enter raw REPL mode')
raise Exception('Terminal: could not enter raw-REPL mode')
return self.__terminal
@@ -915,9 +915,9 @@ while True:
tab.line('download', 'get', '<path>', 'Download file or directory contents from the Pyboard to the PC. Warning: this may cause file corruption.')
tab.line('compare', 'diff', '<file> [use vim]', 'Compare source code from PC with source code from the Pyboard (vim or vscode is required)')
tab.line('compile', 'mpy', '<python file>', 'Compile source file to mpy file')
tab.line('install', 'ins', '<package name>', 'Install a package lib')
tab.line('install', 'mip', '<package name>', 'Install a package lib')
tab.line('status', 'mod', '', 'Show the working tree status (Git is required)')
tab.line('commit', 'sync', '<message> (default: "")', 'Synchronize Pyboard along with associated commits (Git is required)')
tab.line('commit', 'sync', '<message> (default: "")', 'Synchronize Pyboard along with associated commit(s) (Git is required)')
case ['os' | 'uname']:
picowatch.terminal('import os;print(os.uname().machine, os.uname().version)')
case ['ls' | 'scan', *file]:
@@ -943,7 +943,7 @@ while True:
picowatch.commit(message=' '.join(message).strip())
case ['mpy' | 'compile', file]:
picowatch.compile(file)
case ['ins' | 'install', package_name]:
case ['mip' | 'install', package_name]:
print('# TODO')
case ['!' | 'test', *file]:
picowatch.test(file[0] if file else 'main.py')