This feature is desirable for all other builtins. It looks like builtins
only use the short versions of options and not the long versions.

Reference:  https://sources.debian.net/src/bash/4.3-12/builtins/jobs.def/#L242
....
while ((opt = internal_getopt (list, "ahr")) != -1)
    {
      switch (opt)
....

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1405478

Title:
  invokation with -h doesn't correpond to usage instructions

Status in bash package in Ubuntu:
  Confirmed

Bug description:
  Invoking `disown --help` displays usage instructions

      $ disown --help
      bash: disown: --: invalid option
      disown: usage: disown [-h] [-ar] [jobspec ...]

  but invocation of `disown -h` displays

      bash: disown: current: no such job

  which is inconsistent.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: bash 4.3-11ubuntu1
  Uname: Linux 3.19.0-031900rc1-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Dec 24 20:35:20 2014
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1405478/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to