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

Commit

Permalink
Fix commander output options
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien0102 committed Aug 14, 2018
1 parent af828cb commit 7223a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/restful-react-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { join } = require("path");
const importOpenApi = require("../dist/import-open-api");
const { writeFileSync } = require("fs");

program.option("-o, --output", "output file destination").parse(process.argv);
program.option("-o, --output [value]", "output file destination").parse(process.argv);

const data = importOpenApi(join(process.cwd(), program.args[0]));
writeFileSync(join(process.cwd(), program.output), data);
Expand Down

0 comments on commit 7223a19

Please sign in to comment.