diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-30 22:49:24 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-30 23:12:54 -0700 |
commit | 1dcd9350ce975fb05ed99a5ffc864b0d65c8bab3 (patch) | |
tree | 14ae2237d5b164ef7db4604567cd29b3b32cfa73 /subx/examples/ex2.subx | |
parent | 2e693f723de721fff35f74ef1194132d48222615 (diff) | |
download | mu-1dcd9350ce975fb05ed99a5ffc864b0d65c8bab3.tar.gz |
4624
Start requiring a '-o' flag to designate the output binary when translating. Things currently get funky if you pass in multiple inputs, but that's ok. This is the first step to supporting multiple input files for a single output binary.
Diffstat (limited to 'subx/examples/ex2.subx')
-rw-r--r-- | subx/examples/ex2.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/examples/ex2.subx b/subx/examples/ex2.subx index e0c76712..62294b83 100644 --- a/subx/examples/ex2.subx +++ b/subx/examples/ex2.subx @@ -1,7 +1,7 @@ ## add 1 and 1, and return the result in the exit code # # To run: -# $ subx translate ex2.subx ex2 +# $ subx translate ex2.subx -o ex2 # $ subx run ex2 # Expected result: # $ echo $? |