🐐 Small fixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,5 +2,8 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
|
||||||
|
examples/*
|
||||||
|
!examples/*.cent
|
||||||
|
|
||||||
.claude/
|
.claude/
|
||||||
CLAUDE.md
|
CLAUDE.md
|
||||||
6
cent
6
cent
@@ -1,15 +1,15 @@
|
|||||||
#! /home/nikolaj/.pyenv/shims/python
|
#! /usr/bin/env python
|
||||||
"""
|
"""
|
||||||
Usage:
|
Usage:
|
||||||
cent (-h|--help)
|
cent (-h|--help)
|
||||||
cent -i FILE
|
cent -i FILE
|
||||||
cent -c [--keep-c] FILE
|
cent -c [-k|--keep-c] FILE
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h --help Print this help screen
|
-h --help Print this help screen
|
||||||
-i Run the interpreter
|
-i Run the interpreter
|
||||||
-c Run the compiler
|
-c Run the compiler
|
||||||
--keep-c Keep the generated C file alongside the binary
|
-k --keep-c Keep the generated C file alongside the binary
|
||||||
FILE The file to compile/interpret
|
FILE The file to compile/interpret
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user