From 8c64de79e7e1b0371a860f5185a70ed26b170554 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Fri, 14 Aug 2015 09:26:31 +0100 Subject: [PATCH] upgraded command-line-args --- bin/ws.js | 7 +++---- package.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/ws.js b/bin/ws.js index 23dbfe2..33c8ca2 100755 --- a/bin/ws.js +++ b/bin/ws.js @@ -20,11 +20,10 @@ var url = require("url"); /* specify the command line arg definitions and usage forms */ var cli = cliArgs(cliOptions); var usage = cli.getUsage({ - title: "[bold]{local-web-server}", + title: "local-web-server", description: "Lightweight static web server, zero configuration.", footer: "Project home: [underline]{https://github.com/75lb/local-web-server}", usage: { - title: "[bold]{Usage}", forms: [ "$ ws ", "$ ws --config", @@ -32,8 +31,8 @@ var usage = cli.getUsage({ ] }, groups: { - server: "[bold]{Server}", - misc: "[bold]{Misc}" + server: "Server", + misc: "Misc" } }); diff --git a/package.json b/package.json index 38a60ed..b8b48aa 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "repository": "https://github.com/75lb/local-web-server", "author": "Lloyd Brookes", "dependencies": { - "command-line-args": "^1.1.0-0", + "command-line-args": "^1.0.0", "compression": "^1.0.2", "config-master": "^1", "connect": "^3.0.0",