File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/GWallet.Frontend.Console Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -512,18 +512,13 @@ let UpdateServersStats () =
512512let 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+
You can’t perform that action at this time.
0 commit comments