Skip to content

Commit

Permalink
nit: arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed May 17, 2024
1 parent 18a7867 commit 1661403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cargo-shuttle/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cargo-shuttle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ impl Shuttle {
async fn logs_beta(&self, args: LogsArgs) -> Result<CommandOutcome> {
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:
Expand Down

0 comments on commit 1661403

Please sign in to comment.