summaryrefslogtreecommitdiff
path: root/libs/cargs/docs/reference/cag_option_get.md
blob: 8777744e9d67b1782831634e2c16409c856b1437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.                            |