mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 05:43:53 +01:00
add about and version to -h and --help
This commit is contained in:
parent
bdd7260c12
commit
08999e646a
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mers"
|
||||
version = "0.9.6"
|
||||
version = "0.9.7"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "dynamically typed but type-checked programming language"
|
||||
@ -15,7 +15,7 @@ default = ["colored-output"]
|
||||
colored-output = ["mers_lib/ecolor-term", "mers_lib/pretty-print", "dep:colored"]
|
||||
|
||||
[dependencies]
|
||||
mers_lib = "0.9.6"
|
||||
mers_lib = "0.9.7"
|
||||
# mers_lib = { path = "../mers_lib" }
|
||||
clap = { version = "4.3.19", features = ["derive"] }
|
||||
colored = { version = "2.1.0", optional = true }
|
||||
|
@ -5,6 +5,11 @@ use std::{path::PathBuf, process::exit, sync::Arc};
|
||||
mod cfg_globals;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(version,
|
||||
about = Some("mers - a type-checked, dynamically typed programming language focusing on safety and simplicity.\n run with --help for more info :)"),
|
||||
long_about = Some("mers - a type-checked, dynamically typed programming language focusing on safety and simplicity.
|
||||
Safety in mers means that a valid, type-checked mers program will not crash at runtime, and that mers tries to make writing \"bad\" code difficult.
|
||||
Simplicity means that mers is easy to learn, it has little syntax and few edge-cases, but it does not mean that it is easy to write."))]
|
||||
struct Args {
|
||||
#[command(subcommand)]
|
||||
command: Command,
|
||||
|
Loading…
Reference in New Issue
Block a user