Skip to content

Commit 1cd54a5

Browse files
committed
Rename -h to -p
1 parent cc3045d commit 1cd54a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zigpy_cli/radio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async def change_channel(app, channel):
249249
type=CHANNELS_LIST,
250250
default=zigpy.types.Channels.ALL_CHANNELS,
251251
)
252-
@click.option("-h", "--channel-hop-period", type=int, default=5)
252+
@click.option("-p", "--channel-hop-period", type=float, default=5.0)
253253
@click.option("-o", "--output", type=click.File("wb"), required=True)
254254
@click_coroutine
255255
async def packet_capture(app, randomize, channels, channel_hop_period, output):

0 commit comments

Comments
 (0)