fix accept-all action so that it works

This commit is contained in:
Carson McManus 2017-09-27 00:38:56 -04:00
parent 89fb0d333a
commit deddd0fc4b

View file

@ -100,6 +100,10 @@ namespace SteamGuard
{ {
action = "generate-code"; action = "generate-code";
} }
else if (args[i] == "accept-all")
{
action = "accept-all";
}
else if (string.IsNullOrEmpty(user)) else if (string.IsNullOrEmpty(user))
{ {
user = args[i]; user = args[i];