From 69c4a80c810f0d0ebc94e44bfacd18a0093edd4d Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Tue, 10 Mar 2015 19:51:06 +0100 Subject: [PATCH] Fix README for C++ transpiler. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a6106c..0f38506 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ and outputs a subset of C++. Use the option `--c++` or `-+` for that. A good way to learn on the field is comparing the resulting C++ with the input. Well, mostly with the beautified version of the input, `*.beauty.mc`. -The compiler reads from standard input and print result to standard output. +The typical command line would be: - $ ./mcc < examples/primes.mc > primes.cpp + $ ./mcc --c++ examples/primes.mc $ c++ primes.cpp -o primes $ ./primes