Skip to content

Commit

Permalink
feat: add short option for config path (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleimp committed Jan 4, 2022
1 parent 20f4402 commit a2d1eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ lazy_static::lazy_static! {
#[structopt(name = "stylua", about = "A utility to format Lua code")]
pub struct Opt {
/// Specify path to stylua.toml configuration file
#[structopt(long = "config-path", parse(from_os_str))]
#[structopt(long = "config-path", short = "f", parse(from_os_str))]
pub config_path: Option<PathBuf>,

/// Specify the location of the file that is being passed into stdin.
Expand Down

0 comments on commit a2d1eee

Please sign in to comment.