Skip to content

Commit 6b1e045

Browse files
authored
Merge pull request #148 from larsewi/count
Set default spawn count to 1
2 parents 84e02eb + d4cd77f commit 6b1e045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf_remote/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _get_arg_parser():
219219
action="store_true",
220220
)
221221
sp.add_argument("--platform", help="Platform to use", type=str)
222-
sp.add_argument("--count", help="How many hosts to spawn", type=int)
222+
sp.add_argument("--count", default=1, help="How many hosts to spawn", type=int)
223223
sp.add_argument(
224224
"--role", help="Role of the hosts", choices=["hub", "hubs", "client", "clients"]
225225
)

0 commit comments

Comments
 (0)