From 2cb3c3df4099297b0a0554bb482e2de04fe86b5c Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 24 Aug 2022 00:02:17 -0500 Subject: add command-line arguments --- libs/cargs/docs/reference/cag_option_get.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 libs/cargs/docs/reference/cag_option_get.md (limited to 'libs/cargs/docs/reference/cag_option_get.md') diff --git a/libs/cargs/docs/reference/cag_option_get.md b/libs/cargs/docs/reference/cag_option_get.md new file mode 100755 index 0000000..8777744 --- /dev/null +++ b/libs/cargs/docs/reference/cag_option_get.md @@ -0,0 +1,26 @@ +--- +title: cag_option_get +description: Gets the identifier of the option. +--- + +_(since v1.0.0)_ +Gets the identifier of the option. + +## Description +```c +char cag_option_get(const cag_option_context *context); +``` +This function gets the identifier of the option, which should be unique to +this option and can be used to determine what kind of option this is. + +## Parameters + * **context**: The context from which the option was fetched. + +## Return Value +Returns the identifier of the option. + +## Changelog + +| Version | Description | +|------------|--------------------------------------------------------| +| **v1.0.0** | The function is introduced. | -- cgit v1.2.1