dbcat 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.ts +4 -4
package/README.md
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -210,12 +210,12 @@ function parseArgs() {
|
|
|
210
210
|
const DEFAULT_LIMIT = 100;
|
|
211
211
|
|
|
212
212
|
function showUsageAndExit(): never {
|
|
213
|
-
console.error("Usage:
|
|
213
|
+
console.error("Usage: dbcat <database>");
|
|
214
214
|
console.error("");
|
|
215
215
|
console.error("Examples:");
|
|
216
|
-
console.error("
|
|
217
|
-
console.error("
|
|
218
|
-
console.error("
|
|
216
|
+
console.error(" dbcat ./data.db");
|
|
217
|
+
console.error(" dbcat postgres://user:pass@localhost/mydb");
|
|
218
|
+
console.error(" dbcat mysql://user:pass@localhost/mydb");
|
|
219
219
|
console.error("");
|
|
220
220
|
console.error("Or set DATABASE_URL environment variable.");
|
|
221
221
|
process.exit(1);
|