Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Beren committed Mar 8, 2018
1 parent 89ec84c commit 697eeba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "l10n-tools",
"version": "1.0.4",
"version": "1.0.5",
"description": "Localization tools",
"main": "dist/index",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/l10n-cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env node

import pkg from '../package'
import program from 'commander'
import jsonfile from 'jsonfile'
import findRoot from 'find-root'
Expand All @@ -15,8 +16,8 @@ async function run () {
process.chdir(findRoot(process.cwd()))

let cmd = null
program.version('0.1')
.description('번역 추출, 동기화 툴')
program.version(pkg.version)
.description(pkg.description)
.option('-r, --rcfile [rcfile]', '설정 파일 지정, 기본값은 .l10nrc')
.option('-d, --domains [domains]', '적용할 도메인 지정, 없으면 설정 파일에 있는 모든 도메인 (콤마로 여러 도메인 나열 가능)', val => val.split(','))
.option('-q, --quiet', '조용히')
Expand Down

0 comments on commit 697eeba

Please sign in to comment.