Small fix to CLI module.
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -149,6 +149,11 @@ static int main(int argc,char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!command.length()) {
|
||||||
|
printHelp(stdout,argv[0]);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
if (!authToken.length()) {
|
if (!authToken.length()) {
|
||||||
const char *home = getenv("HOME");
|
const char *home = getenv("HOME");
|
||||||
if (home) {
|
if (home) {
|
||||||
|
|||||||
Reference in New Issue
Block a user