diff options
| author | Juan Marín Noguera <juan@mnpi.eu> | 2024-12-01 14:30:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 14:30:52 +0100 |
| commit | 627f06a7fb41e1ac77103ad4a6c070cff7dfaeaa (patch) | |
| tree | 68520a5f819acba5fe0b611c954766c650b76f52 /README.md | |
| parent | 47eb33e373f0b6fe9891b786e8ba3951fc41476a (diff) | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -6,4 +6,11 @@ These are my solutions for Advent of Code in 2024. This year I'm using Lua as t ./main <<ID>> [<<FILE>>] ``` -where `<<ID>>` is the day number followed by `a` for the first part or `b` for the second part, e.g. `01b`. If the file is not specified, it default to the number of the day with two digits and extension `.in`, i.e. `01.in`. One can use the name of a file that doesn't exist, e.g. `-`, to read from standard input. +where `<<ID>>` is the day number followed by `a` for the first part or `b` for the second part. If the file is not specified, it defaults to the number of the day with two digits and extension `.in`, i.e. `01.in`. One can use the name of a file that doesn't exist, e.g. `-`, to read from standard input. + +Example: + +```sh +./main 01b input +``` + |
