Skip to content

Commit a911991

Browse files
committed
chore(worker): accept --workerid alias for --worker-id
Made-with: Cursor
1 parent a94ca84 commit a911991

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Motely.DistributedWorker/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ static async Task<int> Main(string[] args)
3636
{
3737
case "--pool": url = args[++i]; break;
3838
case "--threads": threads = int.Parse(args[++i]); break;
39-
case "--worker-id": workerId = args[++i]; break;
39+
case "--worker-id":
40+
case "--workerid": // common typo / convenience
41+
workerId = args[++i]; break;
4042
case "--filter": filterId = args[++i]; break;
4143
case "--local-db": localDbDir = args[++i]; break;
4244
}

0 commit comments

Comments
 (0)