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

[jira] [Commented] (CB-9682) Cordova CLI accepts invalid options without complaining

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

Diego Geffner commented on CB-9682:
-----------------------------------

C:\workspaces\temp>cordova create my_test_project --link-to=my_invalid_path
Creating a new cordova project.
Could not find directory: C:\workspaces\temp\my_invalid_path

C:\workspaces\temp>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 7CCE-97BD

 Directory of C:\workspaces\temp

09/18/2015  03:24 PM    <DIR>          .
09/18/2015  03:24 PM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  119,609,991,168 bytes free

C:\workspaces\temp>cordova create my_test_project --link-too=my_invalid_path
Creating a new cordova project.

C:\workspaces\temp>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 7CCE-97BD

 Directory of C:\workspaces\temp

09/18/2015  03:24 PM    <DIR>          .
09/18/2015  03:24 PM    <DIR>          ..
09/18/2015  03:24 PM    <DIR>          my_test_project
               0 File(s)              0 bytes
               3 Dir(s)  119,609,937,920 bytes free

C:\workspaces\temp>

> Cordova CLI accepts invalid options without complaining
> -------------------------------------------------------
>
>                 Key: CB-9682
>                 URL: https://issues.apache.org/jira/browse/CB-9682
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.3.2
>         Environment: Windows 10 Entreprise
> CLI 5.3.1
>            Reporter: Diego Geffner
>            Priority: Minor
>         Attachments: screenshot-1.png
>
>
> Cordova doesn't complain about invalid options:
> cordova create my_test_project --link-too=my_invalid_path
> ignores the invalid --link-too= argument, and creates the project
> This is probably due to the parsing/options library that cordova uses, and it probably affects other commands too



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

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