mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Change namespace to Jackett.Common (#2691)
Really hope I don't break anything with this Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using CommandLine;
|
||||
using System;
|
||||
using CommandLine;
|
||||
using CommandLine.Text;
|
||||
using Jackett;
|
||||
using Jackett.Indexers;
|
||||
using Jackett.Common;
|
||||
using Jackett.Common.Models.Config;
|
||||
using Jackett.Common.Utils;
|
||||
using Jackett.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
@@ -14,12 +15,8 @@ using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jacket.Common;
|
||||
using Jackett.Common.Models.Config;
|
||||
using Jacket.Common.Utils;
|
||||
using Jackett.Common.Plumbing;
|
||||
|
||||
namespace JackettConsole
|
||||
namespace Jackett.Console
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
@@ -33,7 +30,7 @@ namespace JackettConsole
|
||||
var text = HelpText.AutoBuild(optionsResult);
|
||||
text.Copyright = " ";
|
||||
text.Heading = "Jackett v" + EnvironmentUtil.JackettVersion + " options:";
|
||||
Console.WriteLine(text);
|
||||
System.Console.WriteLine(text);
|
||||
Environment.ExitCode = 1;
|
||||
return;
|
||||
});
|
||||
@@ -130,7 +127,7 @@ namespace JackettConsole
|
||||
// Show Version
|
||||
if (options.ShowVersion)
|
||||
{
|
||||
Console.WriteLine("Jackett v" + EnvironmentUtil.JackettVersion);
|
||||
System.Console.WriteLine("Jackett v" + EnvironmentUtil.JackettVersion);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user