dheeraj12347 commented on issue #1336: URL: https://github.com/apache/cordova-docs/issues/1336#issuecomment-3706787934
Hi, @breautek From your description, on Windows (Command Prompt/PowerShell) the pass‑through separator needs to be written as "--" so that arguments are forwarded correctly, for example: cordova build android --release "--" --packageType=apk Currently, the examples in the documentation (such as the CLI reference and Android platform guide) only show the Unix/macOS style without quotes. This can be confusing for Windows users and has already led to related bug reports. My proposed approach is: Update all Cordova CLI examples that demonstrate pass‑through arguments so they consistently use "--" in the command, e.g. cordova build android --release "--" --packageType=apk. Add a short note near the first such example explaining that on Windows the separator must be quoted, and that the quoted form also works correctly on Unix/macOS shells. Make these changes in the relevant docs pages you referenced in this issue (and any other occurrences I find), keeping the wording and formatting consistent with the existing documentation. If this approach aligns with what you have in mind, I would be happy and grateful to work on this issue and open a PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
