
#11749: Add long forms for multi-character short-form flags and possibly deprecate short forms -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): I would just like to point out that these flagnames do follow a system currently. Only the [https://downloads.haskell.org/~ghc/master/users- guide/using.html#modes-of-operation mode flags] start with two dashes. These are: {{{ $ ghc801 --show-options | grep '^--' --help --version --numeric-version --info --show-options --supported-languages --supported-extensions --show-packages --print-project-version --print-project-git-commit-id --print-booter-version --print-stage --print-build-platform --print-host-platform --print-target-platform --print-have-interpreter --print-object-splitting-supported --print-have-native-code-generator --print-support-smp --print-unregisterised --print-tables-next-to-code --print-rts-ways --print-leading-underscore --print-debug-on --print-libdir --print-global-package-db --print-c-compiler-flags --print-c-compiler-link-flags --print-ld-flags --show-iface --make --interactive --abi-hash --frontend }}} The other 877 flags all start with a single dash. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11749#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler