Skip to content

Commit da185f2

Browse files
committed
Fix cli help messages
1 parent ab629c3 commit da185f2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

graphql_client_cli/src/main.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,20 @@ enum Cli {
4141
#[structopt(name = "generate")]
4242
Generate {
4343
// should be a glob
44-
/// Path to graphql query file
44+
/// Path to graphql query file.
4545
#[structopt(parse(from_os_str))]
4646
query_path: PathBuf,
47-
/// Path to graphql schema file
47+
/// Path to graphql schema file.
4848
#[structopt(parse(from_os_str))]
4949
schema_path: PathBuf,
50-
/// Name of struct
50+
/// Name of struct that is implementation target.
5151
selected_operation: String,
52-
/// Additional derives
52+
/// Additional derives that will be added to the generated structs and enums for the response and the variables.
5353
/// --additional-derives='Serialize,PartialEq'
5454
#[structopt(short = "a", long = "additional-derives")]
5555
additional_derives: Option<String>,
56-
/// allow, deny, or warn
56+
/// You can choose deprecation strategy from allow, deny, or warn.
57+
/// Default value is warn.
5758
#[structopt(short = "d", long = "deprecation-strategy",)]
5859
deprecation_strategy: Option<String>,
5960
#[structopt(parse(from_os_str))]

0 commit comments

Comments
 (0)