Skip to content

Commit 8fc5cba

Browse files
authored
Merge pull request #144 from samjewell/fix-cli-nonce-typo
Fix typo in CLI docs 'none' -> 'nonce'
2 parents ba97167 + 318f86c commit 8fc5cba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/oauth/cli/base_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _option_parser_sign_and_query(opts)
131131
options[:method] = v
132132
end
133133

134-
opts.on("--nonce NONCE", "Specifies the none to use.") do |v|
134+
opts.on("--nonce NONCE", "Specifies the nonce to use.") do |v|
135135
options[:oauth_nonce] = v
136136
end
137137

test/units/test_cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def help_output
280280
281281
options for signing and querying
282282
--method METHOD Specifies the method (e.g. GET) to use when signing.
283-
--nonce NONCE Specifies the none to use.
283+
--nonce NONCE Specifies the nonce to use.
284284
--parameters PARAMS Specifies the parameters to use when signing.
285285
--signature-method METHOD Specifies the signature method to use; defaults to HMAC-SHA1.
286286
--token TOKEN Specifies the token to use.

0 commit comments

Comments
 (0)