Skip to content

Commit 8a4e241

Browse files
committed
fix: Update Output Option Description
1 parent 0dc6fec commit 8a4e241

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ A source name (without the file extension) must be passed to the compiler. Then
5353
it will search in the list of include directories in the order they were given
5454
and compile the source to the given output file.
5555

56-
To set the path to the output file, use the `-o <path>` option. By default this
57-
would be `a.mlog` if it is not given.
56+
To set the path to the output file, use the `-o <path>` option. If an output is
57+
not given, the compiler only validates the target source's semantics. If an
58+
output path is given, the source must have an `entrypoint` declaration.
5859

5960
To add the path to an include directory, use the `-I <path>` option, which can
6061
be given multiple times to create a list of include directories. By default this

0 commit comments

Comments
 (0)