mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed command line args
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1626 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -279,13 +279,12 @@ namespace ProcessHacker
|
||||
private static void ShowCommandLineUsage()
|
||||
{
|
||||
PhUtils.ShowInformation(
|
||||
"Usage: processhacker [-m]\n" +
|
||||
"Usage:\n" +
|
||||
"\t-m\tStarts Process Hacker hidden.\n" +
|
||||
"\t-v\tStarts Process Hacker visible.\n" +
|
||||
"\t-nokph\tDisables KProcessHacker. Use this if you are encountering BSODs.\n" +
|
||||
"\t-a\tAggressive mode.\n" +
|
||||
"\t-o\tShows Options.\n" +
|
||||
"\t-t n\tShows the specified tab. 0 is Processes, and 1 is Services."
|
||||
"\t-t n\tShows the specified tab. 0 is Processes, 1 is Services and 2 is Network."
|
||||
);
|
||||
}
|
||||
|
||||
@@ -538,6 +537,8 @@ namespace ProcessHacker
|
||||
SelectTab = "Processes";
|
||||
else if (pArgs["-t"] == "1")
|
||||
SelectTab = "Services";
|
||||
else if (pArgs["-t"] == "2")
|
||||
SelectTab = "Network";
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user