Symptom
- Encountering the error message "Incorrect Usage: unexpected argument "<application name>"" when using the CF CLI command cf logs --recent.
- The issue occurs specifically when the application name contains a hyphen character (-).
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
SAP Cloud Foundry
Product
SAP BTP, Cloud Foundry runtime and environment 1.0
Keywords
cf login, Incorrect Usage: unexpected argument, cf8 login, cf logs –recent, application name hyphen issue, Windows , CF logs command issue, powershell, CF CLI application name, argument error , KBA , BC-CP-CF , Cloud Foundry , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview