diff --git a/__tests__/bin/vip-logs.js b/__tests__/bin/vip-logs.js index 971572068..0d9e6d1dc 100644 --- a/__tests__/bin/vip-logs.js +++ b/__tests__/bin/vip-logs.js @@ -308,7 +308,7 @@ describe( 'getLogs', () => { expect( exit.withError ).toHaveBeenCalledTimes( 1 ); expect( exit.withError ).toHaveBeenCalledWith( - 'Invalid format: jso. The supported formats are: csv, json, table.' + 'Invalid format: jso. The supported formats are: csv, json, table, text.' ); expect( logsLib.getRecentLogs ).not.toHaveBeenCalled(); diff --git a/src/bin/vip-logs.js b/src/bin/vip-logs.js index 28e7e09e4..2d3b77045 100755 --- a/src/bin/vip-logs.js +++ b/src/bin/vip-logs.js @@ -249,7 +249,11 @@ command( { `The maximum number of entries to return. Accepts an integer value between 1 and 5000 (defaults to ${ LIMIT_DEFAULT }).` ) .option( 'follow', 'Output new entries as they are generated.' ) - .option( 'format', 'Render output in a particular format. Accepts “csv”, “json”, and “text”.', 'table' ) + .option( + 'format', + 'Render output in a particular format. Accepts “csv”, “json”, and “text”.', + 'table' + ) .examples( [ { usage: 'vip @example-app.production logs',