diff options
Diffstat (limited to 'src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs')
-rw-r--r-- | src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs b/src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs index 24f17d06..67c1504b 100644 --- a/src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs +++ b/src/WixToolset.Core.ExtensionCache/ExtensionCacheManagerCommand.cs | |||
@@ -96,12 +96,15 @@ namespace WixToolset.Core.ExtensionCache | |||
96 | switch (parameter.ToLowerInvariant()) | 96 | switch (parameter.ToLowerInvariant()) |
97 | { | 97 | { |
98 | case "?": | 98 | case "?": |
99 | case "h": | ||
100 | case "-help": | ||
99 | this.ShowHelp = true; | 101 | this.ShowHelp = true; |
100 | this.ShowLogo = true; | 102 | this.ShowLogo = true; |
101 | this.StopParsing = true; | 103 | this.StopParsing = true; |
102 | return true; | 104 | return true; |
103 | 105 | ||
104 | case "nologo": | 106 | case "nologo": |
107 | case "-nologo": | ||
105 | this.ShowLogo = false; | 108 | this.ShowLogo = false; |
106 | return true; | 109 | return true; |
107 | 110 | ||
@@ -158,13 +161,21 @@ namespace WixToolset.Core.ExtensionCache | |||
158 | 161 | ||
159 | private static void DisplayHelp() | 162 | private static void DisplayHelp() |
160 | { | 163 | { |
161 | Console.WriteLine(" usage: wix.exe extension add|remove|list [extensionRef]"); | ||
162 | Console.WriteLine(); | 164 | Console.WriteLine(); |
163 | Console.WriteLine(" -g add/remove the extension for the current user"); | 165 | Console.WriteLine("Usage: wix extension add|remove|list [extensionRef]"); |
164 | Console.WriteLine(" -nologo suppress displaying the logo information"); | ||
165 | Console.WriteLine(" -? this help information"); | ||
166 | Console.WriteLine(); | 166 | Console.WriteLine(); |
167 | Console.WriteLine(" extensionRef format: extensionId/version (the version is optional)"); | 167 | Console.WriteLine("Options:"); |
168 | Console.WriteLine(" -h|--help Show command line help."); | ||
169 | Console.WriteLine(" -g|--global Add/remove the extension for the current user."); | ||
170 | Console.WriteLine(" --nologo Suppress displaying the logo information."); | ||
171 | Console.WriteLine(); | ||
172 | Console.WriteLine("Commands:"); | ||
173 | Console.WriteLine(); | ||
174 | Console.WriteLine(" add Add extension to the cache."); | ||
175 | Console.WriteLine(" list List extensions in the cache."); | ||
176 | Console.WriteLine(" remove Remove extension from the cache."); | ||
177 | Console.WriteLine(); | ||
178 | Console.WriteLine(" extensionRef format: extensionId/version (the version is optional)"); | ||
168 | } | 179 | } |
169 | } | 180 | } |
170 | } | 181 | } |