From 4c84df31e68315d30677345a3b960f0596f51ea5 Mon Sep 17 00:00:00 2001 From: Sean Myers Date: Mon, 14 Mar 2022 15:43:38 -0700 Subject: [PATCH] Fixup deprecated warning --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 96cb2488..0b7a4f6f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use clap::{App, Arg}; +use clap::{Arg, Command}; use noctilucent::ir::CloudformationProgramIr; use noctilucent::synthesizer::typescript_synthesizer::TypescriptSynthesizer; use noctilucent::CloudformationParseTree; @@ -6,7 +6,7 @@ use serde_json::Value; use std::fs; fn main() { - let matches = App::new("Translates cfn templates to cdk typescript") + let matches = Command::new("Translates cfn templates to cdk typescript") .version("1.0") .author("Sean Tyler Myers ") .about("Reads cfn templates and translates them to typescript")