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 = \
Defines.cs \
MonoOptions.cs \
SparkleOptions.cs \
SparkleFetcher.cs \
SparkleHelpers.cs \
SparklePaths.cs \

View file

@ -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<string> {

View file

@ -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<string> extra;
try {
extra = p.Parse (args);
p.Parse (args);
}
catch (OptionException e) {
Console.Write ("SparkleShare: ");