You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/05 01:17:02 UTC

[jira] [Commented] (CB-6876) bin/run -h on Android command fails

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

ASF subversion and git services commented on CB-6876:
-----------------------------------------------------

Commit d427c52aacb974142e10677db1a43a184cfab80b in cordova-android's branch refs/heads/master from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=d427c52 ]

CB-6876 Fix the "print usage"


> bin/run -h on Android command fails
> -----------------------------------
>
>                 Key: CB-6876
>                 URL: https://issues.apache.org/jira/browse/CB-6876
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Marcel Kinard
>            Assignee: Marcel Kinard
>            Priority: Minor
>
> {code}
> marcelk-macbook:sample3 marcelk$ cordova/run -h
> /Users/marcelk/Developer/apache/cordova-android-2/sample3/cordova/lib/run.js:129
>     console.log('Usage: ' + path.relative(process.cwd(), args[0]) + ' [options
>                                                          ^
> ReferenceError: args is not defined
>     at Object.module.exports.help (/Users/marcelk/Developer/apache/cordova-android-2/sample3/cordova/lib/run.js:129:58)
>     at Object.<anonymous> (/Users/marcelk/Developer/apache/cordova-android-2/sample3/cordova/run:29:9)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Function.Module.runMain (module.js:497:10)
>     at startup (node.js:119:16)
>     at node.js:901:3
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)