[ 
https://issues.apache.org/jira/browse/CB-7492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168539#comment-14168539
 ] 

Raghu Srinivasan commented on CB-7492:
--------------------------------------

Poor error reporting my plugman when it doesn't recognize the options. 

You are missing install in your command:
plugman install --platform android --project plug1 --plugin 
org.apache.cordova.console


> Plugman does not return error
> -----------------------------
>
>                 Key: CB-7492
>                 URL: https://issues.apache.org/jira/browse/CB-7492
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>    Affects Versions: 3.5.0
>         Environment: Microsoft Windows 7 64-bit, Node 0.10.30
>            Reporter: John M. Wargo
>
> I'm trying to use plugman for the first time and when I enter the command I'm 
> experimenting with, no matter what I try on the command line, all plugman 
> does is bring up the help file. For example, I'm using the following command:
> plugman --platform android --project plug1 --plugin
>  org.apache.cordova.console
> Instead of telling me that there's an error with the command I've entered, it 
> simply displays nothing except for the help file.
> This is not behavior I'm expecting - what I expect is an error message 
> letting me know that I've done something wrong. Showing the help file should 
> happen when no parameters are passed to the command or when help is requested.
> C:\Users\jwargo\dev\plugtest>plugman -v
> 0.22.4
> C:\Users\jwargo\dev\plugtest>npm uninstall -g plugman
> unbuild [email protected]
> C:\Users\jwargo\dev\plugtest>npm install -g plugman
> C:\Users\jwargo\AppData\Roaming\npm\plugman -> 
> C:\Users\jwargo\AppData\Roaming\n
> pm\node_modules\plugman\main.js
> [email protected] C:\Users\jwargo\AppData\Roaming\npm\node_modules\plugman
> +-- [email protected]
> +-- [email protected]
> +-- [email protected] ([email protected])
> +-- [email protected] ([email protected], [email protected], [email protected])
> +-- [email protected] ([email protected], [email protected], 
> [email protected].
> 5, [email protected], [email protected], [email protected], [email protected], 
> npmcon
> [email protected], [email protected], [email protected], [email protected], [email protected], 
> [email protected]
> , [email protected], [email protected])
> +-- [email protected]
> As you can see, plugman is reporting it's version 0.22.4, but JIRA won't let 
> me select this as the version on this ticket.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to