Ability to ignore unused parameters instead of failing the command. (#915)

* Addition of FailOnTooManyArgs

* Correct name & only pass in bool
This commit is contained in:
vim2meta
2018-01-05 15:02:27 -05:00
committed by Christopher F
parent 5ce85deb9d
commit 5f46aef3a7
4 changed files with 15 additions and 4 deletions

View File

@@ -15,5 +15,8 @@
/// <summary> Determines whether RunMode.Sync commands should push exceptions up to the caller. </summary>
public bool ThrowOnError { get; set; } = true;
/// <summary> Determines whether extra parameters should be ignored. </summary>
public bool IgnoreExtraArgs { get; set; } = false;
}
}