Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var program = require('commander')
program
.version(JSON.parse(fs.readFileSync(__dirname + '/../package.json', 'utf8')).version)
.usage('[debug] [options] [files]')
.option('-i --icon', '1024X1024的icon文件,默认为当前文件夹下的icon.png')
.option('-o --output', '要输出的目录,默认为当前文件夹')
.option('-i, --icon <inputFile>', '1024X1024的icon文件,默认为当前文件夹下的icon.png')
.option('-o, --output <outputPath>', '要输出的目录,默认为当前文件夹')
.parse(process.argv);

program.name = 'ios-icon';
Expand All @@ -31,4 +31,4 @@ var contents = path.join(output, "Contents.json");
ios_icon.make({
output: output,
originIcon: icon
});
});