Skip to content

Commit 0651b7d

Browse files
committed
WIP7
1 parent 977fd9a commit 0651b7d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/GWallet.Frontend.Console/Program.fs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -512,18 +512,13 @@ let UpdateServersStats () =
512512
let main argv =
513513
match argv.Length with
514514
| 0 ->
515-
NormalStartWithNoParameters()
515+
failwith "No args"
516516
| 1 when argv.[0] = "hello" ->
517517
Console.WriteLine "hello"
518518
let helloFile = Path.Combine(Environment.GetCurrenDirectory(), "hello.txt") |> FileInfo
519519
File.WriteAllText(helloFile.FullName, "hallo")
520520
Console.WriteLine "bye"
521-
| 1 when argv.[0] = "--version" ->
522-
Console.WriteLine (sprintf "geewallet v%s" VersionHelper.CURRENT_VERSION)
523521
0
524-
| 1 when argv.[0] = "--update-servers-file" ->
525-
UpdateServersFile()
526-
| 1 when argv.[0] = "--update-servers-stats" ->
527-
UpdateServersStats()
528522
| _ ->
529523
failwith "Arguments not recognized"
524+

0 commit comments

Comments
 (0)