Skip to content

Commit

Permalink
Add version info to ShowUsage
Browse files Browse the repository at this point in the history
  • Loading branch information
gocha committed Jan 24, 2015
1 parent f9e9e1b commit 203d3e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/MidiSplit/MidiSplit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ namespace MidiSplit
{
public class MidiSplit
{
public const string NAME = "MidiSplit";
public const string VERSION = "1.2";
public const string AUTHOR = "gocha";
public const string URL = "http://github.com/gocha/midisplit";

public static int Main(string[] args)
{
try
Expand Down Expand Up @@ -183,6 +188,10 @@ public static int Main(string[] args)

public static void ShowUsage()
{
Console.WriteLine("# " + NAME);
Console.WriteLine();
Console.WriteLine(NAME + " version " + VERSION + " by " + AUTHOR + " <" + URL + ">");
Console.WriteLine();
Console.WriteLine("Usage: MidiSplit (options) input.mid output.mid");
Console.WriteLine();
Console.WriteLine("### Options");
Expand Down

0 comments on commit 203d3e0

Please sign in to comment.