diff --git a/SparkleLib/Makefile.am b/SparkleLib/Makefile.am index 0c621372..9f8b44c4 100644 --- a/SparkleLib/Makefile.am +++ b/SparkleLib/Makefile.am @@ -5,7 +5,7 @@ LINK = $(REF_SPARKLELIB) SOURCES = \ Defines.cs \ - MonoOptions.cs \ + SparkleOptions.cs \ SparkleFetcher.cs \ SparkleHelpers.cs \ SparklePaths.cs \ diff --git a/SparkleLib/MonoOptions.cs b/SparkleLib/SparkleOptions.cs similarity index 99% rename from SparkleLib/MonoOptions.cs rename to SparkleLib/SparkleOptions.cs index b22bd87a..b071c429 100644 --- a/SparkleLib/MonoOptions.cs +++ b/SparkleLib/SparkleOptions.cs @@ -146,7 +146,7 @@ using NDesk.Options; #if NDESK_OPTIONS namespace NDesk.Options #else -namespace Mono.Options +namespace SparkleLib.Options #endif { public class OptionValueCollection : IList, IList { diff --git a/SparkleShare/SparkleShare.cs b/SparkleShare/SparkleShare.cs index ca51cc21..53c611f0 100644 --- a/SparkleShare/SparkleShare.cs +++ b/SparkleShare/SparkleShare.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; using SparkleLib; -using Mono.Options; +using SparkleLib.Options; namespace SparkleShare { @@ -84,9 +84,8 @@ namespace SparkleShare { { "h|help", _("Print version information."), v=> ShowHelp = v != null } }; - List extra; try { - extra = p.Parse (args); + p.Parse (args); } catch (OptionException e) { Console.Write ("SparkleShare: ");