add hidden cli arg --precision

dart-sass will accept this arg, but it will ignore its value
This commit is contained in:
ConnorSkees 2020-05-01 15:48:08 -04:00
parent 05b78a3ddd
commit d5169b2e23

View File

@ -144,6 +144,13 @@ fn main() -> std::io::Result<()> {
Arg::with_name("OUTPUT")
.help("Output SCSS file")
)
// Hidden, legacy arguments
.arg(
Arg::with_name("OUTPUT")
.long("precision")
.hidden(true)
)
.get_matches();
if let Some(name) = matches.value_of("INPUT") {