f-spot r4057 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4057 - trunk/src
- Date: Wed, 11 Jun 2008 14:52:55 +0000 (UTC)
Author: sdelcroix
Date: Wed Jun 11 14:52:55 2008
New Revision: 4057
URL: http://svn.gnome.org/viewvc/f-spot?rev=4057&view=rev
Log:
fix --profile and --trace argument handling
Modified:
trunk/src/main.cs
Modified: trunk/src/main.cs
==============================================================================
--- trunk/src/main.cs (original)
+++ trunk/src/main.cs Wed Jun 11 14:52:55 2008
@@ -145,10 +145,14 @@
case "--debug":
Log.Debugging = true;
break;
- case "--trace": case "--profile": case "--uninstalled": case "--gdb":
+ case "--uninstalled": case "--gdb":
break;
-
default:
+ if (args [i].StartsWith ("--profile"))
+ break;
+ if (args [i].StartsWith ("--trace"))
+ break;
+ Log.DebugFormat ("Unparsed argument >>{0}<<", args [i]);
Help ();
return 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]