mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
New program doesn't need extra checks
This commit is contained in:
@@ -60,13 +60,6 @@ namespace Headerer
|
|||||||
// Get the first argument as a feature flag
|
// Get the first argument as a feature flag
|
||||||
string featureName = args[0];
|
string featureName = args[0];
|
||||||
|
|
||||||
// TODO: Remove this block once trimming is no longer needed
|
|
||||||
// TODO: Update wiki documentation ONLY after this reaches stable
|
|
||||||
// TODO: Re-evaluate feature flags with this change in mind
|
|
||||||
featureName = featureName.TrimStart('-');
|
|
||||||
if (args[0].StartsWith("-"))
|
|
||||||
logger.User($"Feature flags no longer require leading '-' characters");
|
|
||||||
|
|
||||||
// Verify that the flag is valid
|
// Verify that the flag is valid
|
||||||
if (!_help.TopLevelFlag(featureName))
|
if (!_help.TopLevelFlag(featureName))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user