Skip to content

[Bug] calaf --help throws ExceptionExiter #10

@Herve-M

Description

@Herve-M

Hello,

While trying to discover how to use the tool, I get exception at every use of --help with or without subcommand.

Current behavior:

λ dotnet calaf --help
Unhandled exception. Argu.ArguParseException: USAGE: Calaf [--help] [<subcommand> [<options>]]

SUBCOMMANDS:

    make <options>        Make a workspace version.

    Use 'Calaf <subcommand> --help' for additional information.

OPTIONS:

    --help                display this list of options.

   at Argu.ExceptionExiter.Argu.IExiter.Exit[a](String msg, ErrorCode errorCode) in /home/runner/work/Argu/Argu/src/Argu/Types.fs:line 63
   at Argu.ArgumentParser`1.ParseCommandLine(FSharpOption`1 inputs, FSharpOption`1 ignoreMissing, FSharpOption`1 ignoreUnrecognized, FSharpOption`1 raiseOnUsage) in /home/runner/work/Argu/Argu/src/Argu/ArgumentParser.fs:line 131
   at Calaf.Infrastructure.ConsoleInput.parse(String[] args)
   at Calaf.Infrastructure.Console.Calaf.Application.IConsole.read(String[] args)
   at Calaf.Application.Make.apply@213(String path, String[] arguments, MakeContext context, FSharpResult`2 settings)
   at Calaf.Application.Make.run(String path, String[] arguments, MakeContext context, FSharpResult`2 settings)
   at Program.main(String[] args)

Context:

  • Calaf version: 2025.9.0
  • .NET
λ dotnet --info
.NET SDK:
 Version:           8.0.414
 Commit:            62977d44a9
 Workload version:  8.0.400-manifests.a964dcb3
 MSBuild version:   17.11.41+18f1ecf82

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.26100
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\8.0.414\

Host:
  Version:      9.0.9
  Architecture: x64
  Commit:       893c2ebbd4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions