Add usage message
This commit is contained in:
parent
c2e5a01e26
commit
b429296967
1 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,10 @@ open Fli
|
|||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
if argv.Length <> 1 then
|
||||
eprintfn "Usage: mutannot <path/to/project.csproj|fsproj>"
|
||||
exit 1
|
||||
|
||||
let gitState =
|
||||
cli {
|
||||
Exec "git"
|
||||
|
|
@ -12,6 +16,6 @@ let main argv =
|
|||
|
||||
if gitState.Text <> None then
|
||||
eprintfn "Uncommitted changes. Refusing to run."
|
||||
exit 1
|
||||
exit 2
|
||||
|
||||
0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue