Skip to content

Commit 72e6c16

Browse files
committed
Update README example
1 parent 2680c56 commit 72e6c16

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@ Usage
1111
I use the adventofcode.py as a launcher to run the solutions from a file per day with a function per part, the inputs are in a folder named for each day, it's a less sophisticated of the version I saw on this [repo](https://github.com/LinusCDE/AdventOfCode2018).
1212

1313
```
14-
$ ./adventofcode.py -h
14+
$ python -m aoc.aoc -h
1515
usage: adventofcode.py [-h] [--day DAY] [--part PART]
1616
1717
optional arguments:
1818
-h, --help show this help message and exit
1919
--day DAY, -d DAY Day of the puzzle to run
2020
--part PART, -p PART Part of the puzzle of the day to run
2121
22-
$ ./adventofcode.py -d 1 -p 1
23-
Day 1 part 1 solution : 435
22+
$ python -m aoc.aoc -d 1 -p 1
23+
Day 1 - part 1
24+
==============
25+
26+
solution : 435
27+
time : 0.5951 ms
2428
```
2529

2630
License

0 commit comments

Comments
 (0)