mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
feat(CLI): did you mean for struct values
* functionality is cursor-aware, and fixes the actual string the user passed in. That way, it is made very clear how the suggested value is to be used. * it's a known weakness of the implementation that it operates on a flattened list of field names, and thus may make nonsensical suggestions. * added punctuation to all errors Fixes #67 [skip ci]
This commit is contained in:
@@ -178,7 +178,7 @@ let arg_data = [
|
||||
if mc.request_value:
|
||||
args.append((
|
||||
STRUCT_FLAG,
|
||||
"Set various fields of the request structure",
|
||||
"Set various fields of the request structure, matching the key=value form",
|
||||
KEY_VALUE_ARG,
|
||||
True,
|
||||
True,
|
||||
@@ -198,7 +198,7 @@ let arg_data = [
|
||||
if mc.optional_props or parameters is not UNDEFINED:
|
||||
args.append((
|
||||
PARAM_FLAG,
|
||||
"Set various fields of the request structure",
|
||||
"Set various optional parameters, matching the key=value form",
|
||||
VALUE_ARG,
|
||||
False,
|
||||
True,
|
||||
|
||||
Reference in New Issue
Block a user