Bugfix CLI

This commit is contained in:
Starbeamrainbowlabs 2018-09-02 21:53:37 +01:00
parent 0aab41f1b7
commit 2d70038e4c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -66,7 +66,8 @@ namespace MarkovGrams
}
}
Mode mode = extras.Count > 0 ? (Mode)Enum.Parse(typeof(Mode), extras.ShiftAt(0), true) : Mode.Help;
Mode mode = extras.Count > 0 ? (Mode)Enum.Parse(typeof(Mode), extras.ShiftAt(0).Replace("markov-w", "weightedmarkov"), true) : Mode.Help;
// ------------------------------------------------------------------------------------------