Fix known options for plugman create
authorRaphael von der Grün <raphinesse@gmail.com>
Mon, 1 Apr 2019 00:13:37 +0000 (02:13 +0200)
committerRaphael von der Grün <raphinesse@gmail.com>
Wed, 10 Apr 2019 06:53:50 +0000 (08:53 +0200)
commit04cc98fd0595fd55c4b7e3aa197d1ab6a0223bd5
tree3358b7f8957ca5f262cec4b65721b55cf07d90e4
parent6dc057ffc7b89a7d4dd943f6b9d1dcd7a132eac9
Fix known options for plugman create

Instead of --plugin_{id,version} we had --platform_{id,version}

As unknown options are always interpreted as Boolean, before this fix
the created plugin.xml always contains <plugin id="true" version="true">

See also https://github.com/apache/cordova-plugman/issues/110#issuecomment-476540203
main.js
spec/nopt.interface.spec.js