Skip to content

Filter all commands, leave no other commands#12152

Open
philderbeast wants to merge 1 commit into
haskell:masterfrom
cabalism:doc/filter-other-commands
Open

Filter all commands, leave no other commands#12152
philderbeast wants to merge 1 commit into
haskell:masterfrom
cabalism:doc/filter-other-commands

Conversation

@philderbeast

@philderbeast philderbeast commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Fixes #12150.

$ cabal run cabal-install:exe:cabal -- --help > before-help.txt

$ cabal run cabal-install:exe:cabal -- --help > after-help.txt

$ diff before-help.txt after-help.txt --unified
...
 Command line interface to the Haskell Cabal infrastructure.
 
 See http://www.haskell.org/cabal/ for more information.
@@ -83,6 +67,8 @@
   v2-install             Install packages.
   v2-clean               Clean the package store and remove temporary files.
   v2-sdist               Generate a source distribution file (.tar.gz).
+  v2-outdated            Check for outdated dependencies.
+  v2-gen-bounds          Generate dependency bounds for packages in the project.
 
  [legacy command aliases]
   v1-build               Compile all/specific components.
@@ -98,12 +84,6 @@
   v1-copy                Copy the files of all/specific components to install locations.
   v1-register            Register this package with the compiler.
   v1-reconfigure         Reconfigure the package if necessary.
-
- [other]
-  new-gen-bounds         Generate dependency bounds for packages in the project.
-  v2-gen-bounds          Generate dependency bounds for packages in the project.
-  new-outdated           Check for outdated dependencies.
-  v2-outdated            Check for outdated dependencies.
   v1-gen-bounds          Generate dependency bounds.
 
 For more information about a command use:

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

@Mikolaj Mikolaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@philderbeast philderbeast added merge me Tell Mergify Bot to merge and removed attention: needs-review labels Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge me Tell Mergify Bot to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new-outdated is outdated

3 participants