mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
fix: name in the cli
- It was previously inheriting the name of the binary
This commit is contained in:
parent
3093127197
commit
0536f8a239
1 changed files with 7 additions and 1 deletions
|
@ -19,7 +19,13 @@ const AFTER_HELP: &str = indoc::indoc! {"
|
||||||
|
|
||||||
/// The Uncompromising Nix Code Formatter.
|
/// The Uncompromising Nix Code Formatter.
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
#[clap(version, after_help = AFTER_HELP, term_width = 80)]
|
#[clap(
|
||||||
|
name="Alejandra",
|
||||||
|
|
||||||
|
after_help = AFTER_HELP,
|
||||||
|
term_width = 80,
|
||||||
|
version,
|
||||||
|
)]
|
||||||
struct Args {
|
struct Args {
|
||||||
/// Files or directories, or a single "-" (or leave empty) to format stdin.
|
/// Files or directories, or a single "-" (or leave empty) to format stdin.
|
||||||
#[clap(multiple_values = true)]
|
#[clap(multiple_values = true)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue