Skip to content

Commit a6d918f

Browse files
author
thisismypassport
committed
minor readme updates
1 parent 9561be7 commit a6d918f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The simplest approach, which gives good results and works on any cart:
3636

3737
`python shrinko8.py path-to-input.p8 path-to-output.png --minify-safe-only`
3838

39-
You can also add `--focus-chars` or `--focus-compressed` to the command, depending on what you want Shrinko8 to focus on.
39+
You can also add `--focus-tokens`, `--focus-chars`, or `--focus-compressed` to the command - depending on what you want Shrinko8 to focus on reducing.
4040

4141
The most aggressive approach, which gives the best results, but sometimes requires you to [give additional information to shrinko8](#pitfalls-of-full-minification) to ensure it minifies your cart correctly:
4242

@@ -89,6 +89,8 @@ Additional options:
8989
* By default, they're converted to shorthand if deemed to have a positive impact on compression
9090
* Under `--focus-chars`, they're always converted to shorthand when possible
9191
* Under `--focus-compressed`, they're always converted to either all shorthands or all longhands
92+
* Multiple successive local declarations are merged into one when safe to do so, saving tokens.
93+
* under `--focus-tokens`, the same is done for multiple successive assignments. (Especially effective *without* `--minify-safe-only`)
9294

9395
## Pitfalls of full minification
9496

0 commit comments

Comments
 (0)