Small fix to CLI module.

This commit is contained in:
Adam Ierymenko 2013-11-08 15:45:28 -05:00
parent 7ec433a452
commit 15375ef6b9

View File

@ -149,6 +149,11 @@ static int main(int argc,char **argv)
}
}
if (!command.length()) {
printHelp(stdout,argv[0]);
return -1;
}
if (!authToken.length()) {
const char *home = getenv("HOME");
if (home) {