generated from PlexSheep/baserepo
remove trailing whitespaces
This commit is contained in:
parent
6330c3da48
commit
6dcc45d722
|
@ -3,7 +3,7 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: cargo test
|
name: cargo fmt
|
||||||
permissions:
|
permissions:
|
||||||
# Give the default GITHUB_TOKEN write permission to commit and push the
|
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||||
# added or changed files to the repository.
|
# added or changed files to the repository.
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
# Defaults to "Apply automatic changes"
|
# Defaults to "Apply automatic changes"
|
||||||
commit_message: Automatical formatting
|
commit_message: Automatical formatting
|
||||||
check:
|
check:
|
||||||
name: cargo test
|
name: cargo check
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
|
@ -42,11 +42,11 @@ static LONG_ABOUT_ROOT: &'static str = r##"
|
||||||
/// makes use of composition to build a complex system of commands, subcommands, flags and options.
|
/// makes use of composition to build a complex system of commands, subcommands, flags and options.
|
||||||
#[derive(Debug, Clone, Parser)]
|
#[derive(Debug, Clone, Parser)]
|
||||||
#[command(
|
#[command(
|
||||||
author,
|
author,
|
||||||
version,
|
version,
|
||||||
about = ABOUT_ROOT,
|
about = ABOUT_ROOT,
|
||||||
long_about = format!("{}{}", ABOUT_ROOT ,LONG_ABOUT_ROOT),
|
long_about = format!("{}{}", ABOUT_ROOT ,LONG_ABOUT_ROOT),
|
||||||
help_template =
|
help_template =
|
||||||
r#"libpt: {version}{about-section}Author:
|
r#"libpt: {version}{about-section}Author:
|
||||||
{author-with-newline}
|
{author-with-newline}
|
||||||
{usage-heading} {usage}{all-args}{tab}"#
|
{usage-heading} {usage}{all-args}{tab}"#
|
||||||
|
|
Reference in New Issue