Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Has npm changed the behavior of "npm help"?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zaim Bakar  
View profile  
 More options Jul 25 2012, 10:49 am
From: Zaim Bakar <abuzai...@gmail.com>
Date: Wed, 25 Jul 2012 07:49:17 -0700 (PDT)
Local: Wed, Jul 25 2012 10:49 am
Subject: Has npm changed the behavior of "npm help"?

If I'm not mistaken, running "npm help <term>", where <term> is an existing
npm command, will display it's man page. Otherwise, npm will display a "Top
hits" list if <term> is not a known command.

But after upgrading to node 0.8.3, npm will *always* display the "Top hits"
list even for known commands.

The description of "npm help <term>" *seems* to describe differently:

----------------------------
$ npm help

Usage: npm <command>

where <command> is one of:
    add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, deprecate, docs, edit, explore, faq,
    find, get, help, help-search, home, i, info, init, install,
    la, link, list, ll, ln, login, ls, outdated, owner, pack,
    prefix, prune, publish, r, rb, rebuild, remove, restart, rm,
    root, run-script, s, se, search, set, show, shrinkwrap,
    star, start, stop, submodule, tag, test, tst, un, uninstall,
    unlink, unpublish, unstar, up, update, version, view,
    whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm faq          commonly asked questions
*npm help <term>  search for help on <term>*
*npm help npm     involved overview*

Specify configs in the ini-formatted file:
    /home/zaim/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

n...@1.1.43 /usr/lib/node_modules/npm
----------------------------

I'm guessing "invloved overview" means man pages and "npm help npm" is an
example usage.

I'm pretty sure previously when I run "npm help install" or something, a
man page will be displayed. But now it just displays "Top hits"

I suspect this is a problem with my ArchLinux packaged distribution of node
0.8.3, and submitting this issue to github<https://github.com/isaacs/npm/issues/2650>,
Mr. Isaacs seems to agree.

Just a minor thing but does anybody else have the same issue?

*ArchLinux related info: I'm using the **community/nodejs-0.8.3-3 package.*
*
*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.