Skip to content

Commit

Permalink
doc(readme): fix code fence tag
Browse files Browse the repository at this point in the history
  • Loading branch information
loiccoyle committed Sep 22, 2023
1 parent 2278068 commit 5dbba55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.PHONY: readme
readme:
@awk -i inplace -v q="\`\`\`" 'BEGIN {p=1} /^<!-- help start -->/{print;print "";print q;print "$$ phomo -h";system("poetry run phomo -h");print q;print "";p=0} /^<!-- help end -->/{p=1} p' README.md
@awk -i inplace -v q="\`\`\`" 'BEGIN {p=1} /^<!-- help start -->/{print;print "";print q"console";print "$$ phomo -h";system("poetry run phomo -h");print q;print "";p=0} /^<!-- help end -->/{p=1} p' README.md
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If in doubt see the help:

<!-- help start -->

```
```console
$ phomo -h
usage: phomo [-h] [-o OUTPUT] [-c MASTER_CROP_RATIO]
[-s MASTER_SIZE [MASTER_SIZE ...]] [-C TILE_CROP_RATIO]
Expand Down

0 comments on commit 5dbba55

Please sign in to comment.