[f-spot] Fix long style arguments without =.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Fix long style arguments without =.
- Date: Mon, 14 Jun 2010 20:19:16 +0000 (UTC)
commit d801edbbf120b71fda67d71efca9e6f2803e2faf
Author: Ruben Vermeersch <ruben savanne be>
Date: Mon Jun 14 22:18:42 2010 +0200
Fix long style arguments without =.
src/main.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/main.cs b/src/main.cs
index 27027bb..81684fb 100644
--- a/src/main.cs
+++ b/src/main.cs
@@ -106,13 +106,13 @@ namespace FSpot
case "-shutdown":
outargs.Add ("--shutdown");
break;
- case "-b": case "-basedir":
+ case "-b": case "-basedir": case "--basedir":
outargs.Add ("--basedir=" + (i + 1 == args.Length ? String.Empty : args [++i]));
break;
- case "-p": case "-photodir":
+ case "-p": case "-photodir": case "--photodir":
outargs.Add ("--photodir=" + (i + 1 == args.Length ? String.Empty : args [++i]));
break;
- case "-i": case "-import":
+ case "-i": case "-import": case "--import":
outargs.Add ("--import=" + (i + 1 == args.Length ? String.Empty : args [++i]));
break;
case "-v": case "-view":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]