[f-spot] Add usage line to help output.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Add usage line to help output.
- Date: Tue, 8 Jun 2010 17:08:21 +0000 (UTC)
commit e0368cd77274074d154c05e0778c0ed6b29696fa
Author: Ruben Vermeersch <ruben savanne be>
Date: Tue Jun 8 18:51:53 2010 +0200
Add usage line to help output.
src/main.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/main.cs b/src/main.cs
index 08c15ce..f06aae5 100644
--- a/src/main.cs
+++ b/src/main.cs
@@ -21,7 +21,7 @@ namespace FSpot
{
private static void ShowVersion ()
{
- Console.WriteLine ("F-Spot {0}", FSpot.Defines.VERSION);
+ Console.WriteLine ("F-Spot {0}", FSpot.Defines.VERSION);
Console.WriteLine ("http://f-spot.org");
Console.WriteLine ("\t(c)2003-2009, Novell Inc");
Console.WriteLine ("\t(c)2009 Stephane Delcroix");
@@ -44,6 +44,9 @@ namespace FSpot
private static void ShowHelp ()
{
+ Console.WriteLine ("Usage: f-spot [options...] [files|URIs...]");
+ Console.WriteLine ();
+
Hyena.CommandLine.Layout commands = new Hyena.CommandLine.Layout (
new LayoutGroup ("help", "Help Options",
new LayoutOption ("help", "Show this help"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]