Skip to content

Commit

Permalink
FIX verbose flag
Browse files Browse the repository at this point in the history
naming conflicted apparently with tuist. when using a different naming e. g. `--verbose-output` it works as expected

Resolves #5
  • Loading branch information
mflknr committed Feb 19, 2024
1 parent 564a0f7 commit 9e4d560
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct Outdated: ParsableCommand {
var path: String?

@Flag(name: .long)
var verbose: Bool = false
var verboseOutput: Bool = false

@Flag(
name: .shortAndLong,
Expand All @@ -30,7 +30,7 @@ struct Outdated: ParsableCommand {
var all: Bool = false

mutating func run() throws {
ExecutableState.shared.isVerbose = verbose
ExecutableState.shared.isVerbose = verboseOutput
ExecutableState.shared.addAllDependenciesToOutput = all
verboseCallback { print("Verbose output enabled.") }

Expand Down

0 comments on commit 9e4d560

Please sign in to comment.