Skip to content

Commit

Permalink
update help info
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 19, 2013
1 parent c41c2ba commit 3e047ef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bin/fanyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
require('colorful').toxic();

if (!process.argv[2]) {
console.log('fanyi ~ ' + require('../package').version);
console.log('Translate tools in command line');
console.log(' $ fanyi word');
console.log(' $ fanyi world peace');
console.log('fanyi ~ ' + require('../package').version.green);
console.log('Translate tools in command line'.grey);
console.log(' $ '.cyan + 'fanyi word');
console.log(' $ '.cyan + 'fanyi world peace');
console.log(' $ '.cyan + 'fanyi chinglish');
return;
}

Expand Down

0 comments on commit 3e047ef

Please sign in to comment.