Skip to content

Commit e38dc64

Browse files
committed
fixed version to v1.1.0
1 parent ffc56bc commit e38dc64

7 files changed

+12
-12
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14.7)
22

33
# set project name
44
project(cargs
5-
VERSION 1.2.0
5+
VERSION 1.1.0
66
DESCRIPTION "A simple argument parser library"
77
LANGUAGES C)
88

clib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cargs",
3-
"version": "v1.2.0",
3+
"version": "v1.1.0",
44
"repo": "likle/cargs",
55
"description": "command line argument library for C/C++",
66
"src": [

docs/reference/cag_option_get_error_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: cag_option_get_error_index
33
description: Gets the current error index of the context.
44
---
55

6-
_(since v1.2.0)_
6+
_(since v1.1.0)_
77
Retrieves the index of an invalid option.
88

99
## Description
@@ -37,4 +37,4 @@ Returns the index of the invalid option, or -1 if it is not invalid.
3737
3838
| Version | Description |
3939
|------------|---------------------------------|
40-
| **v1.2.0** | The function is introduced. |
40+
| **v1.1.0** | The function is introduced. |

docs/reference/cag_option_get_error_letter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: cag_option_get_error_index
33
description: Gets the current error index of the context.
44
---
55

6-
_(since v1.2.0)_
6+
_(since v1.1.0)_
77
Retrieves the letter character of the invalid option.
88

99
## Description
@@ -33,4 +33,4 @@ or if the current option is in the long format (e.g. `--long-option`).
3333
3434
| Version | Description |
3535
|------------|--------------------------------------------------------|
36-
| **v1.2.0** | The function is introduced. |
36+
| **v1.1.0** | The function is introduced. |

docs/reference/cag_option_get_identifier.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ char cag_option_get_identifier(const cag_option_context *context);
1313
This function gets the identifier of the option, which should be unique to
1414
this option and can be used to determine what kind of option this is.
1515
16-
Before version **1.2.0** this function was named `cag_option_get`.
16+
Before version **1.1.0** this function was named `cag_option_get`.
1717
1818
## Parameters
1919
* **context**: The context from which the option was fetched.
@@ -25,7 +25,7 @@ Returns the identifier of the option.
2525
2626
| Version | Description |
2727
|------------|-------------------------------------------------------|
28-
| **v1.2.0** | The function is renamed to cag_option_get_identifier. |
28+
| **v1.1.0** | The function is renamed to cag_option_get_identifier. |
2929
| **v1.0.3** | Added shared library exports. |
3030
| **v1.0.1** | Added support for C++ projects. |
3131
| **v1.0.0** | The function is introduced. |

docs/reference/cag_option_init.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This function prepares the context for iteration and initializes the context
1616
with the supplied options and arguments. After the context has been prepared,
1717
it can be used to fetch arguments from it.
1818
19-
Before version **v1.2.0** this function was called `cag_option_prepare`.
19+
Before version **v1.1.0** this function was called `cag_option_prepare`.
2020
2121
## Parameters
2222
* **context**: The context which will be initialized.
@@ -29,7 +29,7 @@ Before version **v1.2.0** this function was called `cag_option_prepare`.
2929
3030
| Version | Description |
3131
|------------|---------------------------------------------|
32-
| **v1.2.0** | The function is renamed to cag_option_init. |
32+
| **v1.1.0** | The function is renamed to cag_option_init. |
3333
| **v1.0.3** | Added shared library exports. |
3434
| **v1.0.1** | Added support for C++ projects. |
3535
| **v1.0.0** | The function is introduced. |

docs/reference/cag_option_print_error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: cag_option_print_error
33
description: Prints the error associated with the invalid option to the specified destination.
44
---
55

6-
_(since v1.2.0)_
6+
_(since v1.1.0)_
77
Prints the error associated with the invalid option to the specified destination.
88

99
## Description
@@ -25,4 +25,4 @@ This function is meant to be called in a fetch loop if a unknown option occurs.
2525
2626
| Version | Description |
2727
|------------|--------------------------------------------------------|
28-
| **v1.2.0** | The function is introduced. |
28+
| **v1.1.0** | The function is introduced. |

0 commit comments

Comments
 (0)