mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +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};
|
||||
|
||||
// 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, long_about = None, about = r"
|
||||
const GAMEDIG_HEADER: &str = r"
|
||||
|
||||
_____ _____ _ _____ _ _____
|
||||
/ ____| | __ \(_) / ____| | |_ _|
|
||||
|
|
@ -30,7 +27,12 @@ use self::error::{Error, Result};
|
|||
A command line interface for querying game servers.
|
||||
Copyright (C) 2022 - Present GameDig Organization & Contributors
|
||||
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 {
|
||||
#[command(subcommand)]
|
||||
action: Action,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue