Skip to content

Commit

Permalink
Merge pull request #3319 from Polymer/version-help
Browse files Browse the repository at this point in the history
Add cli argument description for --version
  • Loading branch information
aomarks authored Jan 8, 2019
2 parents cc73463 + fedf4ad commit b4f2a12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- ## Unreleased -->
## Unreleased
* Add `--help` description for `--version`.
<!-- Add new, unreleased changes here. -->

## v1.9.4 [12-23-2018]
Expand Down Expand Up @@ -42,7 +43,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
* Update package-lock to pickup wct-local 2.1.3 to fix Firefox 63 testing.

## v1.8.0 [08-15-2018]
* Fix a case where the CustomElementsEs5Adapter script was not added to the
* Fix a case where the CustomElementsEs5Adapter script was not added to the
builds when the `js.compile` is an object with a target property of es5.
* Updated web-component-tester to v6.8.0, which changes the set of browsers
when testing on Travis CI.
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/src/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ export const globalArguments: ArgDescriptor[] = [
alias: 'q',
group: 'global',
},
{
name: 'version',
description: 'Print version info.',
type: Boolean,
group: 'global',
},
];

/**
Expand Down

0 comments on commit b4f2a12

Please sign in to comment.