Update binaries.
This commit is contained in:
@@ -10,10 +10,10 @@ var options = argv = require('optimist').argv,
|
||||
|
||||
// Show help.
|
||||
if (argv.help || argv._.length === 0) {
|
||||
console.warn('Usage: mbcheck [OPTIONS] [FILE]');
|
||||
utils.table([
|
||||
['--help', 'Show help.']
|
||||
]);
|
||||
console.warn('Usage: mbcheck [FILE]');
|
||||
console.warn(' Check an mbtiles for missing metadata and tiles.');
|
||||
console.warn('Examples:');
|
||||
console.warn(' mbcheck world.mbtiles');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -15,8 +15,10 @@ var options = argv = require('optimist').argv,
|
||||
|
||||
// Show help.
|
||||
if (argv.help || argv._.length < 1) {
|
||||
console.log('Usage: mbcompact [FILE]');
|
||||
utils.table([['--help', 'Show help.']]);
|
||||
console.warn('Usage: mbcompact [FILE]');
|
||||
console.warn(' Eliminate duplicate images to reduce mbtiles filesize.');
|
||||
console.warn('Examples:');
|
||||
console.warn(' mbcompact world.mbtiles');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -17,9 +17,10 @@ var options = argv = require('optimist').argv,
|
||||
// Show help.
|
||||
if (argv.help || argv._.length < 2) {
|
||||
console.warn('Usage: mbpipe [COMMAND] [FILE]');
|
||||
utils.table([
|
||||
['--help', 'Show help.']
|
||||
]);
|
||||
console.warn(' Pipe each tile to stdin of the specified command and');
|
||||
console.warn(' write stdout into the mbtiles file.');
|
||||
console.warn('Examples:');
|
||||
console.warn(' mbpipe "pngquant 32" world.mbtiles');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,8 +7,10 @@ var utils = require('..').utils;
|
||||
|
||||
// Show help.
|
||||
if (argv.help || argv._.length < 1) {
|
||||
console.log('Usage: mbrekey [FILE]');
|
||||
utils.table([['--help', 'Show help.']]);
|
||||
console.warn('Usage: mbrekey [FILE]');
|
||||
console.warn(' Rekey a compacted mbtiles to save space.');
|
||||
console.warn('Examples:');
|
||||
console.warn(' mbrekey world.mbtiles');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user