From 560efc02e1dad1a6d06dd893390774b2dfc586ff Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Tue, 28 Dec 1999 07:41:05 +0000 Subject: [PATCH] Adding -h help info (14003) git-svn-id: svn://10.0.0.236/trunk@56562 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/bootstrap/nsAppRunner.cpp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/mozilla/xpfe/bootstrap/nsAppRunner.cpp b/mozilla/xpfe/bootstrap/nsAppRunner.cpp index 8320cbb5527..ad9ddd07cd5 100644 --- a/mozilla/xpfe/bootstrap/nsAppRunner.cpp +++ b/mozilla/xpfe/bootstrap/nsAppRunner.cpp @@ -621,7 +621,26 @@ static nsresult main1(int argc, char* argv[]) static void DumpHelp(char *appname) { - printf("%s: help info here\n", appname); + printf("Usage: %s [ options ... ]\n", appname); + printf(" where options include:\n"); + printf("\n"); + printf(" -addressbook Start with AddressBook window.\n"); + printf(" -chrome Open chrome url..\n"); + printf(" -compose Start with mail compose window.\n"); + printf(" -edit Start with editor.\n"); + printf(" -height Set height of startup window to .\n"); + printf(" -h Print this message.\n"); + printf(" -help Print this message.\n"); + printf(" -mail Start with mail window.\n"); + printf(" -news Start with news window.\n"); + printf(" -pref Start with pref window.\n"); + printf(" -width Set width of startup window to .\n"); + printf(" -v Print %s version.\n", appname); + printf(" -version Print %s version.\n", appname); + printf("\n"); + printf("Arguments which are not options are interpreted as either files or\n"); + printf("URLs to be loaded.\n"); + printf("\n"); } static