diff --git a/cargo-shuttle/src/args.rs b/cargo-shuttle/src/args.rs index d8be86999a..adf4cc519b 100644 --- a/cargo-shuttle/src/args.rs +++ b/cargo-shuttle/src/args.rs @@ -431,7 +431,7 @@ pub struct LogsArgs { pub all: bool, /// Get logs from all deployments instead of one deployment #[arg(long)] - pub dump_it_all: bool, + pub all_deployments: bool, } /// Helper function to parse and return the absolute path diff --git a/cargo-shuttle/src/lib.rs b/cargo-shuttle/src/lib.rs index 766b11f7b9..5cd4c00b1c 100644 --- a/cargo-shuttle/src/lib.rs +++ b/cargo-shuttle/src/lib.rs @@ -851,7 +851,7 @@ impl Shuttle { async fn logs_beta(&self, args: LogsArgs) -> Result { let client = self.client.as_ref().unwrap(); let proj_name = self.ctx.project_name(); - let logs = if args.dump_it_all { + let logs = if args.all_deployments { client.get_project_logs_beta(proj_name).await?.logs } else { // TODO: