Bitwarden CLI - login fails when entering 2FA code

Hi,

I’m receiving an error when trying to login using the ‘bw’ tool and specifying the 2FA code in the command line as follows:

bw login myemail mypass --method 2 --code 11111

But when I enter the code manually as follows:

 bw login myemail mypass --method 2
 ? Two-step login code: 11111

It works! I was wondering if it’s a bug or something else?