---
name: "ZyanArgParseArg_"
section: "3"
platform: "linux"
package: "libzycore-doc"
version: "1.5.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ZyanArgParseArg_"
---

# ZyanArgParseArg\_(3)

## NAME

ZyanArgParseArg\_

## SYNOPSIS

`#include <ArgParse.h>`

### Public Attributes

const **ZyanArgParseDefinition** \* **def**\
 **ZyanBool** **has\_value**\
 **ZyanStringView** **value**\

## Detailed Description

Information about a parsed argument.

## Member Data Documentation

### const ZyanArgParseDefinition\* ZyanArgParseArg\_::def

Corresponding argument definition, or `ZYAN_NULL` for unnamed args.

This pointer is borrowed from the `cfg` pointer passed to `ZyanArgParse`.

### ZyanBool ZyanArgParseArg\_::has\_value

Whether the argument has a value (is non-boolean).

### ZyanStringView ZyanArgParseArg\_::value

If `has_value == true`, then the argument value.

This is a view into the `argv` string array passed to `ZyanArgParse` via the `cfg` argument.

## Author

Generated automatically by Doxygen for Zycore from the source code.
