diff --git a/dsc/Cargo.lock b/dsc/Cargo.lock index f32311211..e098aba9e 100644 --- a/dsc/Cargo.lock +++ b/dsc/Cargo.lock @@ -551,7 +551,7 @@ dependencies = [ [[package]] name = "dsc" -version = "3.1.0" +version = "3.1.1" dependencies = [ "clap", "clap_complete", diff --git a/dsc/Cargo.toml b/dsc/Cargo.toml index 1324a5d9e..d5384b24d 100644 --- a/dsc/Cargo.toml +++ b/dsc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dsc" -version = "3.1.0" +version = "3.1.1" edition = "2021" [profile.release] diff --git a/dsc/src/resource_command.rs b/dsc/src/resource_command.rs index 416af1a51..c1b00f6fc 100644 --- a/dsc/src/resource_command.rs +++ b/dsc/src/resource_command.rs @@ -55,6 +55,7 @@ pub fn get(dsc: &DscManager, resource_type: &str, input: &str, format: Option<&G let format = match format { Some(&GetOutputFormat::PrettyJson) => Some(&OutputFormat::PrettyJson), Some(&GetOutputFormat::Yaml) => Some(&OutputFormat::Yaml), + None => None, _ => Some(&OutputFormat::Json), }; write_object(&json, format, false);