diff --git a/cli.js b/cli.js index fb97d59..f75f232 100755 --- a/cli.js +++ b/cli.js @@ -22,13 +22,13 @@ var argv = minimist(process.argv.slice(2), { } }) -if (argv.help) return usage() - var src = argv._[0] || process.cwd() var dest = argv._[1] var logspeed = argv.logspeed || 400 var quiet = debug.enabled || !!process.env.DEBUG +if (!argv._.length || argv.help) return usage() + var neat = neatLog([view.main, view.progress], { logspeed: logspeed, diff --git a/readme.md b/readme.md index d0b1800..ad6e9b7 100644 --- a/readme.md +++ b/readme.md @@ -14,20 +14,6 @@ npm install -g dat-next ## Usage -### Share files: - -``` -❯ dat-next my-data/ -dat://22607c7238e0cd74faa239d4119f32f455bb5bd555987090b2696dd0b090db38 -``` - -### Download files: - -``` -❯ dat-next my-data/ - -``` - ### Share a directory: ``` @@ -40,5 +26,5 @@ dat-next