Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't override help strings #13

Merged
merged 2 commits into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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