You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli.cr
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ module Shards
32
32
opts.on("--version", "Print the `shards` version.") { putsself.version_string; exit }
33
33
opts.on("--production", "Run in release mode. No development dependencies and strict sync between shard.yml and shard.lock.") { self.production =true }
34
34
opts.on("--local", "Don't update remote repositories, use the local cache only.") { self.local =true }
35
-
opts.on("-v", "--verbose", "Increase the log verbosity, printing all debug statements.") { self.logger.level =Logger::Severity::DEBUG }
36
-
opts.on("-q", "--quiet", "Decrease the log verbosity, printing only warnings and errors.") { self.logger.level =Logger::Severity::WARN }
35
+
opts.on("-v", "--verbose", "Increase the log verbosity, printing all debug statements.") { self.set_debug_log_level }
36
+
opts.on("-q", "--quiet", "Decrease the log verbosity, printing only warnings and errors.") { self.set_warning_log_level }
0 commit comments