Synced naming with project guidelines
Also a micro cleanup to get rid of a warning
This commit is contained in:
parent
65de283014
commit
15457e18ce
|
@ -5,7 +5,7 @@ LINK = $(REF_SPARKLELIB)
|
|||
|
||||
SOURCES = \
|
||||
Defines.cs \
|
||||
MonoOptions.cs \
|
||||
SparkleOptions.cs \
|
||||
SparkleFetcher.cs \
|
||||
SparkleHelpers.cs \
|
||||
SparklePaths.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<string> {
|
|
@ -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: ");
|
||||
|
|
Loading…
Reference in a new issue