Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 5a59ed7

Browse files
author
RainbowRain
committed
Fixed Args Error
1 parent d9cc0aa commit 5a59ed7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/impl/Pinger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class Pinger(Tool):
1515
@staticmethod
1616
async def run(console, *args):
17-
assert len(args) == 2, "bad args"
17+
assert len(args) == 2, "Usage: Ping <Method> <Ip:Port>"
1818

1919
bad = 0
2020
counter = 0

tools/impl/SSH.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class SSH(Tool):
88
@staticmethod
99
async def run(console, *args):
10-
assert len(args) == 2, "bad args"
10+
assert len(args) == 2, "Usage: SSH <Ip:Port> <username>"
1111
ip, username = str(args[0]).split(":"), args[1]
1212
password = await console.cinput("Enter Password", hide_value=True)
1313
console.using.set()

tools/impl/cfxFinder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class Cfxfinder(Tool):
1414
@staticmethod
1515
async def run(console, *args):
16-
assert len(args) == 1, "bad args"
16+
assert len(args) == 1, "Usage: cfx <Cfx_Code>"
1717

1818
cfx_code = cfx_regex.search(args[0].lower())
1919

0 commit comments

Comments
 (0)