Skip to content

"cabal list-bin" should list all available targets on failure #8683

Open

Description

@mouse07410

Describe the bug
cabal list-bin returns an error instead of listing all of the available binaries.

To Reproduce
Steps to reproduce the behavior:

$ cabal list-bin

Expected behavior
Similarly to ls, I'd expect to see all the binaries.

E.g., ls <file> lists one specified file, but ls lists the entire contents of the current directory.

Activity

  1. Mikolaj commented on Jan 16, 2023

    @Mikolaj
    Member

    Thanks. Isn't this fixed already, though? Or at least a PR or ticket made?

  2. Mikolaj commented on Jan 16, 2023

    @Mikolaj
    Member

    Hmm, never mind, I'm probably mixing it up with a similar problem.

  3. changed the title [-]"cabal list-bin" still confusing[/-] [+]Perhaps "cabal list-bin" should list all available targets on failure[/+] on Jan 16, 2023
  4. changed the title [-]Perhaps "cabal list-bin" should list all available targets on failure[/-] [+]"cabal list-bin" should list all available targets on failure[/+] on Jan 17, 2023
  5. added a commit that references this issue on May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions