Skip to content

Commit ae6d911

Browse files
authored
Merge pull request #231 from graphql-rust/cli-options-clash
Fix naming clash in the CLI flags (fixes #230)
2 parents 8e9d696 + b104f01 commit ae6d911

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10+
### Fixed
11+
12+
- In the CLI, both --selected-operation and --output used the -o shorthand. --output now uses -out.
13+
1014
## 0.7.0 - 2019-03-21
1115

1216
### Changed

graphql_client_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "graphql_client_cli"
33
description = "The CLI for graphql-client"
4-
version = "0.7.0"
4+
version = "0.7.1"
55
authors = ["Tom Houlé <[email protected]>"]
66
license = "Apache-2.0 OR MIT"
77
repository = "https://github.com/graphql-rust/graphql-client"

graphql_client_cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ enum Cli {
7171
///
7272
/// If this option is omitted, the code will be generated next to the .graphql
7373
/// file, with the same name and the .rs extension.
74-
#[structopt(short = "o", long = "output-directory")]
74+
#[structopt(short = "out", long = "output-directory")]
7575
output_directory: Option<PathBuf>,
7676
},
7777
}

0 commit comments

Comments
 (0)