Skip to content

Commit

Permalink
docs: cleanup loader flag info
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed Jul 14, 2023
1 parent a693a59 commit 883a76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The `-h` or `--help` flag will log usage information to the console, copy/pasted

**-l, --loader [boolean]**

- Show a loading animation while determining the build size (doesn't work when executed via npx)
- Show a loading animation while determining the build size

**-b, --binary [boolean]**

Expand Down
6 changes: 3 additions & 3 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getBuildSizes, saveBuildSizes, formatBytes, help } from "./index.js";
const FLAG_INFO = {
loader: {
description:
"Show a loading animation while determining the build size (doesn't work when executed via npx)",
"Show a loading animation while determining the build size",
boolean: true,
},
binary: {
Expand Down Expand Up @@ -244,6 +244,6 @@ EXAMPLES
# same as above, but use a flag for path when it's not the first argument
build-sizes -f=css -b -d=1 -p=dist
# save the build sizes to a csv
build-sizes dist --outfile=data/build-sizes.csv`;
# save the build sizes to a csv and display a loading animation
build-sizes dist --loader --outfile=data/build-sizes.csv`;
}

0 comments on commit 883a76f

Please sign in to comment.