add usage check and message

svn path=/trunk/gtk-sharp/; revision=19719
This commit is contained in:
John Luke 2003-11-07 21:56:24 +00:00
parent d69268abbf
commit 737e86b889

View File

@ -11,6 +11,12 @@ public class GstTest
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine ("usage: Gst.Player.exe FILE.ogg");
return;
}
Application.Init ();
/* create a new bin to hold the elements */