Synced naming with project guidelines

Also a micro cleanup to get rid of a warning
This commit is contained in:
Łukasz Jernaś 2010-08-18 21:37:19 +02:00
parent 65de283014
commit 15457e18ce
3 changed files with 4 additions and 5 deletions

View file

@ -5,7 +5,7 @@ LINK = $(REF_SPARKLELIB)
SOURCES = \ SOURCES = \
Defines.cs \ Defines.cs \
MonoOptions.cs \ SparkleOptions.cs \
SparkleFetcher.cs \ SparkleFetcher.cs \
SparkleHelpers.cs \ SparkleHelpers.cs \
SparklePaths.cs \ SparklePaths.cs \

View file

@ -146,7 +146,7 @@ using NDesk.Options;
#if NDESK_OPTIONS #if NDESK_OPTIONS
namespace NDesk.Options namespace NDesk.Options
#else #else
namespace Mono.Options namespace SparkleLib.Options
#endif #endif
{ {
public class OptionValueCollection : IList, IList<string> { public class OptionValueCollection : IList, IList<string> {

View file

@ -21,7 +21,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
using SparkleLib; using SparkleLib;
using Mono.Options; using SparkleLib.Options;
namespace SparkleShare { namespace SparkleShare {
@ -84,9 +84,8 @@ namespace SparkleShare {
{ "h|help", _("Print version information."), v=> ShowHelp = v != null } { "h|help", _("Print version information."), v=> ShowHelp = v != null }
}; };
List<string> extra;
try { try {
extra = p.Parse (args); p.Parse (args);
} }
catch (OptionException e) { catch (OptionException e) {
Console.Write ("SparkleShare: "); Console.Write ("SparkleShare: ");