Skip to content

Commit

Permalink
fix: remove mandatory cli parameters that prevented --version to work
Browse files Browse the repository at this point in the history
  • Loading branch information
pviotti committed Dec 1, 2021
1 parent b5bbeb5 commit 178222c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Degiro.Cli/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ let PROGRAM_NAME = AppDomain.CurrentDomain.FriendlyName

type CliArguments =
| [<NoAppSettings>] Version
| [<MainCommand; Mandatory>] CsvFilePath of input: string
| [<AltCommandLine("-y"); Mandatory>] Year of year: int
| [<MainCommand>] CsvFilePath of input: string
| [<AltCommandLine("-y")>] Year of year: int
| [<AltCommandLine("-p")>] Period of period: int
| [<AltCommandLine("-o")>] OutputPath of output_path: string

Expand Down

0 comments on commit 178222c

Please sign in to comment.