Skip to content

Commit

Permalink
Merge pull request #146 from anthonyfok/fix-typo
Browse files Browse the repository at this point in the history
Fix typos discovered by the Debian Lintian tool
  • Loading branch information
tdewolff committed Sep 10, 2017
2 parents b19d69a + 0a7bf5a commit d515420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/minify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**[Download binaries](https://dl.equinox.io/tdewolff/minify/stable) for Windows, Linux and Mac OS X**

Minify is a CLI implemention of the minify [library package](https://github.com/tdewolff/minify/blob/master/README.md).
Minify is a CLI implementation of the minify [library package](https://github.com/tdewolff/minify/blob/master/README.md).

## Installation
Make sure you have [Go](http://golang.org/) and [Git](http://git-scm.com/) installed.
Expand All @@ -25,7 +25,7 @@ and the `minify` command will be in your `$GOPATH/bin`.
--match string
Filename pattern matching using regular expressions, see https://github.com/google/re2/wiki/Syntax
--mime string
Mimetype (text/css, application/javascript, ...), optional for input filenames, has precendence over -type
Mimetype (text/css, application/javascript, ...), optional for input filenames, has precedence over -type
-o, --output string
Output file or directory (must have trailing slash), leave blank to use stdout
-r, --recursive
Expand Down
2 changes: 1 addition & 1 deletion cmd/minify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
fmt.Fprintf(os.Stderr, "\nInput:\n Files or directories, leave blank to use stdin\n")
}
flag.StringVarP(&output, "output", "o", "", "Output file or directory (must have trailing slash), leave blank to use stdout")
flag.StringVar(&mimetype, "mime", "", "Mimetype (text/css, application/javascript, ...), optional for input filenames, has precendence over -type")
flag.StringVar(&mimetype, "mime", "", "Mimetype (text/css, application/javascript, ...), optional for input filenames, has precedence over -type")
flag.StringVar(&filetype, "type", "", "Filetype (css, html, js, ...), optional for input filenames")
flag.StringVar(&match, "match", "", "Filename pattern matching using regular expressions, see https://github.com/google/re2/wiki/Syntax")
flag.BoolVarP(&recursive, "recursive", "r", false, "Recursively minify directories")
Expand Down

0 comments on commit d515420

Please sign in to comment.