Skip to content

Commit

Permalink
feat(tools/attempt): add CLI debug option (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
podrivo authored Jan 17, 2024
1 parent fca459b commit e01190a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/attempt_protocols.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if (argv._.length >= 1) {
if (split.length >= 2) {
options.port = split[1]
}
options.debug = argv._[1] === 'debug'
}

const gamedig = new GameDig(options)
Expand All @@ -28,7 +29,6 @@ const run = async () => {
try {
const response = await gamedig.query({
...options,
debug: true,
type: `protocol-${protocol}`
})
console.log(response)
Expand Down

0 comments on commit e01190a

Please sign in to comment.