Skip to content

Commit 318f86c

Browse files
committed
Fix typo in CLI docs 'none' -> 'nonce'
1 parent d969737 commit 318f86c

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
@@ -126,7 +126,7 @@ def _option_parser_sign_and_query(opts)
126126
options[:method] = v
127127
end
128128

129-
opts.on("--nonce NONCE", "Specifies the none to use.") do |v|
129+
opts.on("--nonce NONCE", "Specifies the nonce to use.") do |v|
130130
options[:oauth_nonce] = v
131131
end
132132

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)