From f4c3712623fa5661b6b5b06fc2415b2f95dc3f19 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Thu, 3 Mar 2016 16:50:03 -0800 Subject: [PATCH] now: revert usage of `now` --- bin/now | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/now b/bin/now index c5ad786..2743c06 100755 --- a/bin/now +++ b/bin/now @@ -12,7 +12,7 @@ import ms from 'ms'; import os from 'os'; program -.usage('[options] ') +.usage('[options]') .option('-d, --debug', 'Debug mode [off]', false) .option('-f, --force', 'Force a new deployment even if nothing has changed', false) .option('-L, --login', 'Configure login') @@ -26,9 +26,7 @@ if (path) { path = resolve(process.cwd(), path); } } else { - error('Missing path. To deploy this directory, run `now .`'); - program.outputHelp(); - process.exit(1); + path = process.cwd(); } let config;