From 2aeca35097d551277cbe0b4536e3aceb8e80c093 Mon Sep 17 00:00:00 2001 From: Sude Date: Fri, 4 Jul 2014 16:31:30 +0300 Subject: [PATCH] Tell the user to try --login if no games are found on the account. --- src/downloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/downloader.cpp b/src/downloader.cpp index 2cd168e..b4e07f5 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -1804,6 +1804,10 @@ std::vector Downloader::getGames() #endif page_html = root["html"].asString(); html += page_html; + if (page_html.empty() && i == 1) + { + std::cout << "No games were found on your account. Try --login to refresh your authorization." << std::endl; + } i++; } while (!page_html.empty());