Public bug reported:

The option "--node" of "pinfo" is used to initially navigate to a section of 
the info page (a node),
in the same way it is implemented in "info".
This option is important when accessing long info pages.

It could be expected that the option is compatible with "info",
and therefore has a short form "-n". It seems like this was actually intended 
to be the case.

Using the option "-n", as in

    $ pinfo zsh -n Keymaps

fails with an error message referring to the long option "--node":

    $ pinfo zsh -n Keymaps      
    Przemek's Info Viewer v0.6.9
    --node option used without argument

The long option works fine, in the same way it does in "info":

    $ pinfo zsh --node Keymaps

opens the info page for "zsh", showing the section "Keymaps".

Another example of the options relevance:

    $ pinfo coreutils --node 'tsort invocation'

shows the info page of "tsort" (a node of coreutils, actually), 
while using "-n" does not. Navigating manually from

    $ pinfo coreutils

is not a good alternative, because the index is long.

(Note that "pinfo tsort" shows the man page of "tsort", which is very
short)

** Affects: pinfo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599374

Title:
  Short form of option "--node" ("-n") is present, but broken and
  undocumented

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to