mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
style: remove unnecessary JSON usage in usage message
This commit is contained in:
parent
f2fa99b79f
commit
f55fd9734f
1 changed files with 1 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import json
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -61,10 +60,6 @@ def process_markdown(filename, fh):
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
print(
|
print("Usage: python testsr.py <markdown_filename>", file=sys.stdout, flush=True)
|
||||||
json.dumps({"error": "Usage: python testsr.py <markdown_filename>"}, indent=4),
|
|
||||||
file=sys.stdout,
|
|
||||||
flush=True,
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
process_markdown(sys.argv[1], sys.stdout)
|
process_markdown(sys.argv[1], sys.stdout)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue