Skip to content

Commit

Permalink
update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Feb 26, 2024
1 parent 19ab0bb commit 9c14618
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const cli = meow(`
Options
--full-metadata Output full package metadata
--all-versions Output all versions
--registry-url Registry URL [Default: inferred]
--no-deprecated Omit deprecated versions [Default: included]
--registry-url Custom registry URL
--no-deprecated Omit deprecated versions
Example
$ package-json ava
Expand All @@ -34,6 +34,10 @@ const cli = meow(`
registryUrl: {
type: 'string',
},
deprecated: {
type: 'boolean',
default: true,
},
},
});

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ $ package-json --help
Options
--full-metadata Output full package metadata
--all-versions Output all versions
--registry-url Registry URL [Default: inferred]
--no-deprecated Omit deprecated versions [Default: included]
--registry-url Custom registry URL
--no-deprecated Omit deprecated versions
Example
$ package-json ava
Expand Down

0 comments on commit 9c14618

Please sign in to comment.