about summary refs log tree commit diff stats
path: root/subx/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'subx/Readme.md')
-rw-r--r--subx/Readme.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index 67a7e5e1..baba8e1b 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -111,7 +111,7 @@ Running `subx` will transparently compile it as necessary.
 
 * `subx test`: runs all automated tests.
 
-* `subx translate <input file> <output ELF binary>`: translates a text file
+* `subx translate <input file> -o <output ELF binary>`: translates a text file
   containing hex bytes and macros into an executable ELF binary.
 
 * `subx run <ELF binary>`: simulates running the ELF binaries emitted by `subx
@@ -123,7 +123,7 @@ Putting them together, build and run one of the example programs:
 <img alt='apps/factorial.subx' src='../html/subx/factorial.png'>
 
 ```
-$ ./subx translate apps/factorial.subx apps/factorial
+$ ./subx translate apps/factorial.subx -o apps/factorial
 $ ./subx run apps/factorial  # returns the factorial of 5
 $ echo $?
 120