mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 18:24:36 +00:00
command friendly tips
This commit is contained in:
@@ -25,7 +25,7 @@ use humansize::format_size;
|
|||||||
use tabled::settings::Style;
|
use tabled::settings::Style;
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(author, version, about, long_about = None)]
|
#[command(name = "easytier-cli", author, version, about, long_about = None)]
|
||||||
struct Cli {
|
struct Cli {
|
||||||
/// the instance name
|
/// the instance name
|
||||||
#[arg(short = 'p', long, default_value = "127.0.0.1:15888")]
|
#[arg(short = 'p', long, default_value = "127.0.0.1:15888")]
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ use mimalloc_rust::*;
|
|||||||
static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc;
|
static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc;
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(author, version, about, long_about = None)]
|
#[command(name = "easytier-core", author, version, about, long_about = None)]
|
||||||
struct Cli {
|
struct Cli {
|
||||||
#[arg(
|
#[arg(
|
||||||
short,
|
short,
|
||||||
|
|||||||
Reference in New Issue
Block a user