Skip to content

Commit a0d6efe

Browse files
authored
Set the bin_name for the CLI to rubyfmt (#793)
1 parent be4c041 commit a0d6efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ enum ExecutionError {
3535

3636
/// Rubyfmt CLI
3737
#[derive(Debug, Parser)]
38-
#[clap(author, version, about, long_about = None)]
38+
#[clap(bin_name = "rubyfmt", author, version, about, long_about = None)]
3939
struct CommandlineOpts {
4040
/// Turn on check mode. This outputs diffs of inputs to STDOUT. Will exit non-zero when differences are detected.
4141
#[clap(short, long)]

0 commit comments

Comments
 (0)