mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Misc cleanup
This commit is contained in:
@@ -70,7 +70,7 @@ namespace WoD
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If more than one switch is enabled or help is set, show the help screen
|
// If more than one switch is enabled or help is set, show the help screen
|
||||||
if (help || !(import ^ generate ^ listsys ^ listsrc ^ genall ^ add ^ rem)
|
if (help || !(import ^ generate ^ listsys ^ listsrc ^ genall ^ add ^ rem))
|
||||||
{
|
{
|
||||||
Help();
|
Help();
|
||||||
logger.Close();
|
logger.Close();
|
||||||
@@ -631,7 +631,6 @@ ORDER BY systems.manufacturer, systems.system";
|
|||||||
private static void AddRemoveMenu()
|
private static void AddRemoveMenu()
|
||||||
{
|
{
|
||||||
string selection = "", manufacturer = "", system = "", name = "", url = "";
|
string selection = "", manufacturer = "", system = "", name = "", url = "";
|
||||||
int sysid = -1, srcid = -1;
|
|
||||||
while (selection.ToLowerInvariant() != "b")
|
while (selection.ToLowerInvariant() != "b")
|
||||||
{
|
{
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
@@ -714,7 +713,7 @@ Make a selection:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
logger.Log("Source with id '" + srcid + "' could not be removed.")
|
logger.Log("Source with id '" + srcid + "' could not be removed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -746,7 +745,7 @@ Make a selection:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("System with id '" + sysid + "' could not be removed.")
|
Console.WriteLine("System with id '" + sysid + "' could not be removed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user