mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
chore: format
This commit is contained in:
parent
0543cabce2
commit
6aee5ebb76
1 changed files with 7 additions and 5 deletions
|
|
@ -13,10 +13,7 @@ mod error;
|
||||||
|
|
||||||
use self::error::{Error, Result};
|
use self::error::{Error, Result};
|
||||||
|
|
||||||
// NOTE: For some reason without setting long_about here the doc comment for
|
const GAMEDIG_HEADER: &str = r"
|
||||||
// ExtraRequestSettings gets set as the about for the CLI.
|
|
||||||
#[derive(Debug, Parser)]
|
|
||||||
#[command(author, version, long_about = None, about = r"
|
|
||||||
|
|
||||||
_____ _____ _ _____ _ _____
|
_____ _____ _ _____ _ _____
|
||||||
/ ____| | __ \(_) / ____| | |_ _|
|
/ ____| | __ \(_) / ____| | |_ _|
|
||||||
|
|
@ -30,7 +27,12 @@ use self::error::{Error, Result};
|
||||||
A command line interface for querying game servers.
|
A command line interface for querying game servers.
|
||||||
Copyright (C) 2022 - Present GameDig Organization & Contributors
|
Copyright (C) 2022 - Present GameDig Organization & Contributors
|
||||||
Licensed under the MIT license
|
Licensed under the MIT license
|
||||||
")]
|
";
|
||||||
|
|
||||||
|
// NOTE: For some reason without setting long_about here the doc comment for
|
||||||
|
// ExtraRequestSettings gets set as the about for the CLI.
|
||||||
|
#[derive(Debug, Parser)]
|
||||||
|
#[command(author, version, about = GAMEDIG_HEADER, long_about = None)]
|
||||||
struct Cli {
|
struct Cli {
|
||||||
#[command(subcommand)]
|
#[command(subcommand)]
|
||||||
action: Action,
|
action: Action,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue