Single arg not getting recognized #18

Closed
opened 2023-01-24 14:41:02 +01:00 by bea · 0 comments
Owner

If a single argument is used when starting up the bot, then it gets ignored. This is because previously, the first arg used to be the bot token, so we skipped it on purpose. If you add more than one arg, it loops through all of them (including the first one). So:

java -jar jarfile.jar verbose  

results in nothing.

java -jar jarfile.jar verbose verbose 

results in verbosity getting registered twice.

If a single argument is used when starting up the bot, then it gets ignored. This is because previously, the first arg used to be the bot token, so we skipped it on purpose. If you add more than one arg, it loops through all of them (including the first one). So: ``` java -jar jarfile.jar verbose ``` results in nothing. ``` java -jar jarfile.jar verbose verbose ``` results in verbosity getting registered twice.
bea added the
bug
label 2023-01-24 14:41:02 +01:00
bea closed this issue 2023-01-24 14:41:44 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bea/HidekoBot#18
No description provided.