refactor: cleanup -j / --output-json flag

Stop -j writing to a file, print to stdout instead.
This commit is contained in:
andy.boot
2024-05-02 23:27:48 +01:00
parent cab250aa0e
commit 4f6255971b
4 changed files with 17 additions and 34 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
use std::path::PathBuf;
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone)]
use serde::Serialize;
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Serialize)]
pub struct DisplayNode {
// Note: the order of fields in important here, for PartialEq and PartialOrd
pub size: u64,