Browse Source

Bugfix CLI

master
Starbeamrainbowlabs 2 years ago
parent
commit
2d70038e4c
Signed by: sbrl GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      MarkovGrams/Program.cs

+ 2
- 1
MarkovGrams/Program.cs 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;
// ------------------------------------------------------------------------------------------


Loading…
Cancel
Save