cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TimBarham <...@git.apache.org>
Subject [GitHub] cordova-cli pull request: CB-9114: Deprecating the --usegit flag
Date Tue, 16 Jun 2015 01:23:03 GMT
Github user TimBarham commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/214#discussion_r32484109
  
    --- Diff: doc/platform.txt ---
    @@ -5,7 +5,10 @@ Synopsis
     Manage project platforms
     
         add <plat-spec> [...].............. add specified platforms
    -        --usegit ...................... retrieve from git instead of npm registry
    +        --usegit ...................... [WARNING: This flag has been deprecated !]
    +                                        [Instead, please use: `cordova platform add git-url#custom-branch`.]

    +                                        [e.g: cordova platform add https://github.com/apache/cordova-android.git#2.4.0]
    +                                        retrieve from git instead of npm registry
    --- End diff --
    
    Just a minor nit, as for the other change - don't put a space before the `!` (or just
replace it with a period). Also, I wonder - should the description come first, then the warning?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message