Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
attiand committed Apr 27, 2022
1 parent 08f2a22 commit f484a90
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
Print and optional sort lines that match a semantic version.

```
semver 2.0.0-beta.2
semver 2.0.0
Print and optional sort lines that match a semantic version.
Print semantic versions to standard output. With no FILE, or when FILE is '-', read standard input.
Print lines that match a semantic version to standard output. With no FILE, or when FILE is '-',
read standard input.
USAGE:
semver [OPTIONS] [FILES]...
Expand All @@ -18,14 +19,14 @@ OPTIONS:
--completion
Generate bash completion and exit
-f, --fail
Fail for any unrecognized versions
-h, --help
Print help information
-i, --invert
Invert match, print unrecognized lines
-r, --reverse
Reverse the result of comparisons (implies --sort)
Sort lines, reversed order
-s, --sort
Sort lines
Expand Down

0 comments on commit f484a90

Please sign in to comment.