You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2018/02/09 04:02:00 UTC

[jira] [Created] (CB-13856) cordova plugin list prints helper message to STDOUT instead of STDERR

Ryan Williams created CB-13856:
----------------------------------

             Summary: cordova plugin list prints helper message to STDOUT instead of STDERR
                 Key: CB-13856
                 URL: https://issues.apache.org/jira/browse/CB-13856
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-cli
    Affects Versions: Master
            Reporter: Ryan Williams


The message "No plugins added. Use `cordova plugin add <plugin>`." is printed to STDOUT when running the command "cordova plugin list" when there are no plugins installed.

It should be printed to STDERR instead to be consistent with other linux programs.

 

Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null
No plugins added. Use `cordova plugin add <plugin>`.



Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null | wc -l
1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org