Skip to content

Commit 3b6ba8b

Browse files
committed
handle unknown commands
1 parent 29babd7 commit 3b6ba8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/jwtear

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ module JWTear
5858
print_error "Option #{exception.message}"
5959
when GLI::UnknownCommandArgument
6060
print_error "#{exception.message}"
61+
when GLI::UnknownCommand
62+
print_error "#{exception.message}"
6163
else
6264
print_error "Unknown Exception:"
6365
print_warning 'Please report the issue to: https://github.com/KINGSABRI/jwtear/issues'.underline

0 commit comments

Comments
 (0)