зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1182395 - Don't error out when -p is not given an argument in RemoteCommandLine. r=bsmedberg
Leave it to the normal command line handling to handle the situation and display the profile manager.
This commit is contained in:
Родитель
35cc22a996
Коммит
e32873b594
|
@ -1791,8 +1791,8 @@ RemoteCommandLine(const char* aDesktopStartupID)
|
||||||
|
|
||||||
ar = CheckArg("p", false, &profile, false);
|
ar = CheckArg("p", false, &profile, false);
|
||||||
if (ar == ARG_BAD) {
|
if (ar == ARG_BAD) {
|
||||||
PR_fprintf(PR_STDERR, "Error: argument -p requires a profile name\n");
|
// Leave it to the normal command line handling to handle this situation.
|
||||||
return REMOTE_ARG_BAD;
|
return REMOTE_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *temp = nullptr;
|
const char *temp = nullptr;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче