add -t alias for style

This commit is contained in:
ConnorSkees 2020-05-01 15:57:37 -04:00
parent d5169b2e23
commit 67bee201de

View File

@ -48,6 +48,8 @@ fn main() -> std::io::Result<()> {
.arg( .arg(
Arg::with_name("STYLE") Arg::with_name("STYLE")
.short("s") .short("s")
// this is required for compatibility with ruby sass
.short("t")
.long("style") .long("style")
.help("Minified or expanded output") .help("Minified or expanded output")
.default_value("expanded") .default_value("expanded")
@ -147,7 +149,7 @@ fn main() -> std::io::Result<()> {
// Hidden, legacy arguments // Hidden, legacy arguments
.arg( .arg(
Arg::with_name("OUTPUT") Arg::with_name("PRECISION")
.long("precision") .long("precision")
.hidden(true) .hidden(true)
) )