Skip to content

Commit ce97114

Browse files
authored
docs: Change getOption's parameter name in cli/cli_request.rst
Change getOption's parameter to $key as in the code.
1 parent 801b4f3 commit ce97114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/cli/cli_request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Returns an array of the command line arguments deemed to be options:
3131

3232
.. literalinclude:: cli_request/003.php
3333

34-
getOption($which)
34+
getOption($key)
3535
-----------------
3636

3737
Returns the value of a specific command line argument deemed to be an option:

0 commit comments

Comments
 (0)