[GHC] #14145: I expect `hp2ps -cd` to work as `hp2ps -c -d` does.

GHC ghc-devs at haskell.org
Tue Aug 22 11:24:57 UTC 2017


#14145: I expect `hp2ps -cd` to work as `hp2ps -c -d` does.
-------------------------------------+-------------------------------------
           Reporter:  qbolec         |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Profiling      |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 It's a common convention among command-line programs that if the
 documentation describes short options, such as `-c` and `-d` then it
 should also accept their combination like `-cd`, unless otherwise stated.

 Alternatively, if this is not supported, then at least a warning abound
 unknown option "cd" should be displayed.
 Instead the process silently accepts `-cd`, and produces a colorful chart
 (-c) but does not sort by variance (ignores d).

 I'm not sure what version of hp2ps I use, because it seems to ignore
 `--version` and `-v` and `--help` does not produce version string
 anywhere.

 However:
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.10.2

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14145>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list