Official gnome-terminal release does not have a manpage, it's added by
Debian or Ubuntu (not sure which), indeed they should fix it.

"gnome-terminal --help-all" should be clear and up to date in gnome-
terminal's git master, probably not yet in zesty but will appear in
whichever release comes after that (17.10).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1663737

Title:
  --execute changes following -h to --help

Status in gnome-terminal package in Ubuntu:
  New

Bug description:
  Description:  Ubuntu 16.04.1 LTS
  Release:      16.04

  gnome-terminal:
    Installed: 3.18.3-1ubuntu1
    Candidate: 3.18.3-1ubuntu1
    Version table:
   *** 3.18.3-1ubuntu1 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  Create a bash script called echoParams.sh somewhere in your current
  path (attached):

      #!/bin/bash
      for param in "$@"
      do echo "param '$param'"
      done
      echo -n "Enter to finish..."
      read junk

  Execute the following:

      $ gnome-terminal --execute echoParams.sh -h

  In a new terminal window the output is:

      param '--help'
      Enter to finish...

  ... meanwhile, back at the command line:

      $ which gnome-terminal
      /usr/bin/gnome-terminal

      $ gnome-terminal --version
      GNOME Terminal 3.18.3

  
  The '-h' is being translated and passed as '--help'

  ... which is no help at all if the --execute command expects '-h'.

  All puns intended.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1663737/+subscriptions

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

Reply via email to