mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Print current version in Squirrel/Update help text
This commit is contained in:
@@ -28,8 +28,8 @@ namespace SquirrelCli
|
||||
var exeName = Path.GetFileName(AssemblyRuntimeInfo.EntryExePath);
|
||||
var commands = new CommandSet {
|
||||
"",
|
||||
$"Squirrel ({ThisAssembly.AssemblyInformationalVersion}) command line tool for creating and deploying Squirrel releases",
|
||||
$"Usage: {exeName} [verb] [--option:value]",
|
||||
"Command line tool for creating and deploying Squirrel releases",
|
||||
"",
|
||||
"Package Authoring:",
|
||||
{ "releasify", "Take an existing nuget package and turn it into a Squirrel release", new ReleasifyOptions(), Releasify },
|
||||
|
||||
@@ -33,8 +33,9 @@ namespace Squirrel.Update
|
||||
{
|
||||
var exeName = Path.GetFileName(AssemblyRuntimeInfo.EntryExePath);
|
||||
var opts = new OptionSet() {
|
||||
"",
|
||||
$"Squirrel Updater ({ThisAssembly.AssemblyInformationalVersion}) manages packages and installs updates for Squirrel applications",
|
||||
$"Usage: {exeName} command [OPTS]",
|
||||
"Manages packages and updates Squirrel applications",
|
||||
"",
|
||||
"Commands:",
|
||||
{ "install=", "Install the app whose package is in the specified directory", v => { updateAction = UpdateAction.Install; target = v; } },
|
||||
|
||||
Reference in New Issue
Block a user