Skip to content

Commit

Permalink
feat(repeater): rename legacy option to rabbitmq (#446)
Browse files Browse the repository at this point in the history
relates-to: #435
  • Loading branch information
lsndr authored Aug 24, 2023
1 parent bb70d89 commit d838726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/RunRepeater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class RunRepeater implements CommandModule {
alias: ['rm', 'remove'],
describe: 'Stop and remove repeater daemon'
})
.option('legacy', {
.option('rabbitmq', {
boolean: true,
describe:
'Enable legacy mode, utilizing the RabbitMQ connection for communication.'
Expand Down Expand Up @@ -216,7 +216,7 @@ export class RunRepeater implements CommandModule {
.register<RepeaterLauncher>(
RepeaterLauncher,
{
useClass: args.legacy
useClass: args.rabbitmq
? DefaultRepeaterLauncher
: ServerRepeaterLauncher
},
Expand Down

0 comments on commit d838726

Please sign in to comment.