SAP Knowledge Base Article - Preview

3313475 - "Incorrect Usage: unexpected argument" error with CF CLI

Symptom

Trying to get application log with CF CLI command: cf logs --recent <appName>, see below error message: 

Incorrect Usage: unexpected argument "<application name>"

"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,  , 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.