add usage check and message
svn path=/trunk/gtk-sharp/; revision=19719
This commit is contained in:
parent
d69268abbf
commit
737e86b889
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@ public class GstTest
|
||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
if (args.Length != 1)
|
||||||
|
{
|
||||||
|
Console.WriteLine ("usage: Gst.Player.exe FILE.ogg");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Application.Init ();
|
Application.Init ();
|
||||||
|
|
||||||
/* create a new bin to hold the elements */
|
/* create a new bin to hold the elements */
|
||||||
|
|
Loading…
Reference in a new issue