From 9953840771dbeeb8c61b6f144c269a4c06aecb01 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 10 May 2022 12:38:51 +0900 Subject: [PATCH] docs: make method names linkable --- user_guide_src/source/cli/cli_request.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/user_guide_src/source/cli/cli_request.rst b/user_guide_src/source/cli/cli_request.rst index 8ef96d40ee..b1354830cb 100644 --- a/user_guide_src/source/cli/cli_request.rst +++ b/user_guide_src/source/cli/cli_request.rst @@ -10,31 +10,36 @@ but adds some accessor methods for convenience. Additional Accessors ==================== -**getSegments()** +getSegments() +------------- Returns an array of the command line arguments deemed to be part of a path: .. literalinclude:: cli_request/001.php -**getPath()** +getPath() +--------- Returns the reconstructed path as a string: .. literalinclude:: cli_request/002.php -**getOptions()** +getOptions() +------------ Returns an array of the command line arguments deemed to be options: .. literalinclude:: cli_request/003.php -**getOption($which)** +getOption($which) +----------------- Returns the value of a specific command line argument deemed to be an option: .. literalinclude:: cli_request/004.php -**getOptionString()** +getOptionString() +----------------- Returns the reconstructed command line string for the options: