From e1a7b85735642e061accb9a260eb090b38da0022 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 13 Apr 2016 08:50:52 -0600 Subject: [PATCH] Better semantics --- bin/gh-pages | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/gh-pages b/bin/gh-pages index 6c60696..84206c9 100755 --- a/bin/gh-pages +++ b/bin/gh-pages @@ -21,8 +21,8 @@ program 'commit message', 'Updates') .option('-t, --dotfiles', 'Include dotfiles') .option('-a, --add', 'Only add, and never remove existing files.') - .option('-l, --only ', - 'Only remove files that match the given pattern ' + + .option('-v, --remove ', + 'Remove files that match the given pattern ' + '(ignored if used together with --add).', '.') .option('-n, --no-push', 'Commit only (with no push)') .parse(process.argv); @@ -35,7 +35,7 @@ ghpages.publish(path.join(process.cwd(), program.dist), { message: program.message, dotfiles: !!program.dotfiles, add: !!program.add, - only: program.only, + only: program.remove, remote: program.remote, push: !program.noPush, logger: function(message) {