Skip to content

Commit

Permalink
Merge pull request #13 from epage/structopt
Browse files Browse the repository at this point in the history
fix: Don't override help strings
  • Loading branch information
epage authored May 11, 2020
2 parents e954caf + 56997d0 commit 20fd170
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 9 deletions.
19 changes: 15 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
<a name="0.3.0"></a>
# Change Log
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/).

<!-- next-header -->
## [Unreleased] - ReleaseDate

#### Fixes

* Workaround structopt bug causing documentation to override help strings

## 0.3.0 (2019-12022)

#### Breaking Changes

* cargo_metadata 0.9 is now required


<a name="0.2.0"></a>
## 0.2.0 (2019-09-12)

#### Features
Expand All @@ -20,7 +31,6 @@
* Structs are now non-exhaustive


<a name="0.1.4"></a>
## 0.1.4 (2019-05-23)


Expand All @@ -29,4 +39,5 @@
* Argument names were missing ([c444c5cc](https://github.com/crate-ci/clap-cargo/commit/c444c5cc019f08c6f2e619e166344f548531b8f6))



<!-- next-url -->
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.3.0...HEAD
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schedules:
jobs:
- template: default.yml@templates
parameters:
minrust: 1.33.0
minrust: 1.40.0
codecov_token: $(CODECOV_TOKEN_SECRET)
- job: "Committed"
displayName: Lint History
Expand Down
3 changes: 2 additions & 1 deletion committed.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
style="Conventional"
style="conventional"
ignore_author_re="dependabot"
7 changes: 7 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ pre-release-commit-message = "chore({{crate_name}}): Release {{version}}"
no-dev-version = true
tag-message = "{{prefix}}v{{version}}"
tag-name = "{{prefix}}v{{version}}"
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}"},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate"},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD"},
]
3 changes: 2 additions & 1 deletion src/features.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// Cargo Feature Flags.
//! Cargo Feature Flags.
#[derive(Default, Clone, Debug, PartialEq, Eq, structopt::StructOpt)]
pub struct Features {
#[structopt(long)]
Expand Down
3 changes: 2 additions & 1 deletion src/manifest.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Cargo flag for selecting the relevant crate.
use std::path;

/// Cargo flag for selecting the relevant crate.
#[derive(Default, Clone, Debug, PartialEq, Eq, structopt::StructOpt)]
pub struct Manifest {
#[structopt(long, name = "PATH", parse(from_os_str))]
Expand Down
3 changes: 2 additions & 1 deletion src/workspace.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Cargo flags for selecting crates in a workspace.
use std::collections;

/// Cargo flags for selecting crates in a workspace.
#[derive(Default, Clone, Debug, PartialEq, Eq, structopt::StructOpt)]
pub struct Workspace {
#[structopt(long)]
Expand Down

0 comments on commit 20fd170

Please sign in to comment.