forked from Plugin-JF-Onkostar/osc-variant
Strip content that is included in system library
This commit is contained in:
@@ -130,6 +130,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
outputfile,
|
||||
compact,
|
||||
sorted,
|
||||
strip,
|
||||
} => {
|
||||
let data = &mut read_inputfile(inputfile)?;
|
||||
|
||||
@@ -144,6 +145,10 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
data.sorted();
|
||||
}
|
||||
|
||||
if strip {
|
||||
data.strip_system_library_content();
|
||||
}
|
||||
|
||||
let mut buf = String::new();
|
||||
|
||||
let mut serializer = Serializer::new(&mut buf);
|
||||
|
||||
Reference in New Issue
Block a user