mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Tweak section order in readme [ci skip]
This commit is contained in:
19
README.md
19
README.md
@@ -7,7 +7,17 @@ Argparse is a feature-rich command line parser for Lua inspired by argparse for
|
|||||||
|
|
||||||
Argparse supports positional arguments, options, flags, optional arguments, subcommands and more. Argparse automatically generates usage, help and error messages.
|
Argparse supports positional arguments, options, flags, optional arguments, subcommands and more. Argparse automatically generates usage, help and error messages.
|
||||||
|
|
||||||
Simple example:
|
## Contents
|
||||||
|
|
||||||
|
* [Example](#example)
|
||||||
|
* [Installation](#installation)
|
||||||
|
* [Tutorial](#tutorial)
|
||||||
|
* [Testing](#testing)
|
||||||
|
* [License](#license)
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
Simple example:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
-- script.lua
|
-- script.lua
|
||||||
@@ -90,13 +100,6 @@ Error: unknown option '--outptu'
|
|||||||
Did you mean '--output'?
|
Did you mean '--output'?
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contents
|
|
||||||
|
|
||||||
* [Installation](#installation)
|
|
||||||
* [Tutorial](#tutorial)
|
|
||||||
* [Testing](#testing)
|
|
||||||
* [License](#license)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Using LuaRocks
|
### Using LuaRocks
|
||||||
|
Reference in New Issue
Block a user