From 75f8939fd8add065471281950799fc0cfeecf1f8 Mon Sep 17 00:00:00 2001 From: Azim Muradov Date: Sat, 5 Oct 2024 19:38:41 +0300 Subject: [PATCH] Update CLI app docs --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acf8f9c..5732df0 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Available options: Available commands: run Run MiniML program compile Compile MiniML program to the provided target + print-c-runtime Print C runtime ``` ``` @@ -96,7 +97,8 @@ Usage: miniml compile [FILE] [-t|--target TARGET] [-o|--output OUTPUT] Available options: FILE Program file path (optional) - -t,--target TARGET Compilation target (binary|llvm-ir) (default: binary) + -t,--target TARGET Compilation target (binary|llvm-ir|risc-v-asm) + (default: binary) -o,--output OUTPUT Output file path (default: filename taken from the MiniML program) -h,--help Show this help text @@ -105,6 +107,21 @@ Global options: -d,--debug Execute in debug mode ``` +``` +Print C runtime + +Usage: miniml print-c-runtime [-o|--output OUTPUT] + + Print C runtime + +Available options: + -o,--output OUTPUT Output file path (default: runtime.c) + -h,--help Show this help text + +Global options: + -d,--debug Execute in debug mode +``` + ## Developer Documentation **Build Requirements**