Issue #15: Add flag '--fix' to modify sub command

This commit is contained in:
2023-11-06 14:00:20 +01:00
parent 6da1c48c28
commit 7b13251d34
2 changed files with 10 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ fn main() -> Result<(), Box<dyn Error>> {
sorted,
strip,
interactive,
fix,
} => {
let data = &mut read_inputfile(inputfile)?;
@@ -192,6 +193,10 @@ fn main() -> Result<(), Box<dyn Error>> {
.unwrap();
}
if fix {
// No operation as of now
}
if sorted {
data.sorted();
}