Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix(help command): fix output format files
Browse files Browse the repository at this point in the history
  • Loading branch information
fox1t committed Jul 1, 2020
1 parent 0f33cdc commit c159be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ddoc/extract/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.default = (prog) => {
prog
.command('ddoc extract <src>', `Extract design document(s) from database exported backup file. Expects <src> backup file.`)
.option('-d, --destination', 'Destination folder.', '.')
.option('-f, --format', 'Destination file format. Possible values are json or js.', 'json')
.option('-f, --format', 'Destination file format. Possible values are json, js and ts.', 'json')
.example('ddoc extract db/main.txt')
.example('ddoc extract db/main.txt')
.action(extract_1.default);
Expand Down
2 changes: 1 addition & 1 deletion src/ddoc/extract/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default (prog: Sade) => {
`Extract design document(s) from database exported backup file. Expects <src> backup file.`,
)
.option('-d, --destination', 'Destination folder.', '.')
.option('-f, --format', 'Destination file format. Possible values are json or js.', 'json')
.option('-f, --format', 'Destination file format. Possible values are json, js and ts.', 'json')
.example('ddoc extract db/main.txt')
.example('ddoc extract db/main.txt')
.action(extract)
Expand Down

0 comments on commit c159be3

Please sign in to comment.