Skip to content

Commit

Permalink
minor change in the -x option
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Jun 1, 2012
1 parent a34e561 commit 8f9ce48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/winser
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ program
.version(require("../package.json").version)
.option("-i, --install", "install the node application as a windows service")
.option("-r, --remove", "remove the windows service for the node application")
.option("-x, --stop", "stop the service. Useful in conjuntion with -r")
.option("-x, --stop", "stop the service before uninstalling")
.option("-s, --silent", "supress any information in the console")
.option("-c, --confirmation", "ask for confirmation before installing")
.option("-c, --confirmation", "ask for confirmation before installing/uninstalling")
.option("-p, --path [path]", "path to the node application you want to install as a service [current directory]", process.cwd())
.parse(process.argv);

Expand Down Expand Up @@ -77,7 +77,7 @@ sequence
}
})
.then(function(next){
if(!program.stop){
if(!program.stop || program.install){
next();
return;
}
Expand Down

0 comments on commit 8f9ce48

Please sign in to comment.