Skip to content

Commit

Permalink
Fix --output option standalone bug
Browse files Browse the repository at this point in the history
  • Loading branch information
k4m4 committed Dec 26, 2017
1 parent ab94b5d commit d7b9c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onioff.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def main():

if len(sys.argv[1:]) > 0:

if len(sys.argv[1:]) == 1 and (sys.argv[1] == '--fast' or sys.argv[1] == '--output'):
if (len(sys.argv[1:]) == 1 and sys.argv[1] == '--fast') or (len(sys.argv[1:]) == 2 and sys.argv[1] == '--output'):
flushPrint("\n\n[!] Use '-h' or '--help' For Usage Options\n", False, False, True)
raise SystemExit

Expand Down

0 comments on commit d7b9c07

Please sign in to comment.