Skip to content

Commit

Permalink
-L is now removed as of v0.8.0, and is default behaviour (#94)
Browse files Browse the repository at this point in the history
Co-authored-by: Eldred Habert <me@eldred.fr>
Co-authored-by: Sylvie <35663410+Rangi42@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 7, 2024
1 parent 50b973d commit 2399b7e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/part1/hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To clarify where each individual command begins, I've added a `$` before each co
:::

```console
$ rgbasm -L -o hello-world.o hello-world.asm
$ rgbasm -o hello-world.o hello-world.asm
$ rgblink -o hello-world.gb hello-world.o
$ rgbfix -v -p 0xFF hello-world.gb
```
Expand All @@ -34,14 +34,13 @@ $ rgbfix -v -p 0xFF hello-world.gb

Be careful with arguments! Some options, such as `-o` here, use the argument after them as a parameter:

1. `rgbasm -L -o hello-world.asm hello-world.o` won't work (and may corrupt `hello-world.asm`!)
2. `rgbasm -L hello-world.asm -o hello-world.o` will work
3. `rgbasm hello-world.asm -o hello-world.o -L` will also work
1. `rgbasm -o hello-world.asm hello-world.o` won't work (and may corrupt `hello-world.asm`!)
2. `rgbasm hello-world.asm -o hello-world.o` will work

If you need whitespace within an argument, you must quote it:

1. `rgbasm -L -o hello world.o hello world.asm` won't work
2. `rgbasm -L -o "hello world.o" "hello world.asm"` will work
1. `rgbasm -o hello world.o hello world.asm` won't work
2. `rgbasm -o "hello world.o" "hello world.asm"` will work

:::

Expand Down

0 comments on commit 2399b7e

Please sign in to comment.