Update cli_demo.py

This commit is contained in:
Ren Xuancheng
2024-05-27 13:31:50 +08:00
committed by GitHub
parent 61f63754cd
commit 34b2b71b93

View File

@@ -139,7 +139,7 @@ def main():
print(_WELCOME_MSG)
_gc()
continue
elif command in ['clear-history', 'clh']:
elif command in ['clear-his', 'clh']:
print(f'[INFO] All {len(history)} history cleared')
history.clear()
_gc()