From 14b403966388c65688bf2f3df1c8254dd538c258 Mon Sep 17 00:00:00 2001 From: RKrom Date: Tue, 27 Jul 2010 19:32:49 +0000 Subject: [PATCH] Fixed help git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@726 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Forms/MainForm.cs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 5632bf88c..301e78b04 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -99,23 +99,32 @@ namespace Greenshot { helpOutput.AppendLine("Greenshot commandline options:"); helpOutput.AppendLine(); helpOutput.AppendLine(); - helpOutput.AppendLine("\t--help [config]"); + helpOutput.AppendLine("\t--help"); helpOutput.AppendLine("\t\tThis help."); helpOutput.AppendLine(); helpOutput.AppendLine(); + helpOutput.AppendLine("\t--help configure"); + helpOutput.AppendLine("\t\tA detailed listing of available settings for the configure command."); + helpOutput.AppendLine(); + helpOutput.AppendLine(); helpOutput.AppendLine("\t--uninstall"); helpOutput.AppendLine("\t\tUnstall is called from the unstaller and tries to close all running instances."); helpOutput.AppendLine(); helpOutput.AppendLine(); helpOutput.AppendLine("\t--configure [property=value] ..."); helpOutput.AppendLine("\t\tChange the configuration of Greenshot via the commandline."); - helpOutput.AppendLine("\t\tExample to change the language to English: greenshot.exe --config Ui_Language=en-US"); - helpOutput.AppendLine("\t\tExample to change the destination: greenshot.exe --config Output_File_Path=\"C:\\Documents and Settings\\\""); + helpOutput.AppendLine("\t\tExample to change the language to English: greenshot.exe --configure Ui_Language=en-US"); + helpOutput.AppendLine("\t\tExample to change the destination: greenshot.exe --configure Output_File_Path=\"C:\\Documents and Settings\\\""); helpOutput.AppendLine(); helpOutput.AppendLine(); helpOutput.AppendLine("\t--openfile [filename]"); helpOutput.AppendLine("\t\tOpen the bitmap file in the running Greenshot instance or start a new instance"); - + helpOutput.AppendLine(); + helpOutput.AppendLine(); + helpOutput.AppendLine("\t--exit"); + helpOutput.AppendLine("\t\tCan be used if someone only wants to change the configuration."); + helpOutput.AppendLine("\t\tAs soon as this option is found Greenshot exits if not and there is no running instance it will stay running."); + helpOutput.AppendLine("\t\tExample: greenshot.exe --configure Output_File_Path=\"C:\\Documents and Settings\\\" --exit"); } Console.WriteLine(helpOutput.ToString());