Skip to content

Commit 2bc3ab2

Browse files
committed
HOTFIX:
- Make internet connection optional with -p switch to run.cmd
1 parent 3693ba9 commit 2bc3ab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/commandline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
parser.add_argument('-x', '--noupdate', action='store_true', help='Do not autoupdate')
2121
parser.add_argument('-s', '--secret', action='store_true', help='Reveal all stored passwords')
2222
parser.add_argument('-a', '--restarted', action='store_true', help='Indicates if the bot was restarted')
23+
parser.add_argument('-p', '--ping', action='store_true', help='Ping Google DNS on startup to assure internet connection')
2324
elif program == 'update.py':
2425
parser.add_argument('-n', '--node', help='Node name', default=platform.node())
2526
parser.add_argument('-r', '--no-restart', action='store_true', default=False,

0 commit comments

Comments
 (0)