Skip to content

Commit a8208d7

Browse files
committed
new changes
1 parent 5bc0347 commit a8208d7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

bin/total

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function display_help() {
367367
console.log('-t or -translate = creates a resource file with the localized text from views');
368368
console.log('-t or -translate "TEXT" = creates an identificator for the resource');
369369
console.log('-t or -translate filename = parsers and creates a resource file from the text file');
370-
console.log('-t or -translatecsv = parsers and creates CSV with localization into the current directory');
370+
console.log('-c or -translatecsv = parsers and creates CSV with localization into the current directory');
371371
console.log('-d or -diff = creates a differences between two resources "-diff filename1 filename2"');
372372
console.log('-v or -version = total.js version');
373373
console.log('-minify filename = minifies .js, .css or .html file into filename.min.[extension]');
@@ -553,7 +553,7 @@ function main() {
553553
continue
554554
}
555555

556-
if (cmd === '-translate-csv' || cmd === '-translatecsv') {
556+
if (cmd === '-translate-csv' || cmd === '-translatecsv' || cmd === '-c') {
557557
$type = 6;
558558
continue
559559
}

helpers/debug-raw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function app() {
7777

7878
for (var i = 0; i < length; i++) {
7979
var name = arr[i];
80-
if (name === 'config' || name === 'config-debug' || name === 'config-release' || name === 'versions' || name.indexOf('.js') !== -1 || name.indexOf('.resource') !== -1)
80+
if (name === 'config' || name === 'config-debug' || name === 'config-release' || name === 'versions' || name === 'dependencies' || name.indexOf('.js') !== -1 || name.indexOf('.resource') !== -1)
8181
self.file.push(name);
8282
}
8383

helpers/debug.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)