diff --git a/src/Console/Program.cs b/src/Console/Program.cs index e42951a4..738250e6 100644 --- a/src/Console/Program.cs +++ b/src/Console/Program.cs @@ -101,6 +101,13 @@ namespace Bit.Console if(_usingArgs) { + if(_args.Length != 3) + { + Con.ForegroundColor = ConsoleColor.Red; + Con.WriteLine("Invalid arguments."); + Con.ResetColor(); + } + email = _args[1]; masterPassword = _args[2]; }