From 5a1f42827fd6ca740519d3a3a1c38c0b64083b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20D=C3=ADaz?= Date: Tue, 7 Mar 2017 16:48:56 -0600 Subject: [PATCH] Add help if no command was issued. --- bin/beau | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/beau b/bin/beau index 1d5426e..bb2f243 100755 --- a/bin/beau +++ b/bin/beau @@ -1,5 +1,4 @@ #!/usr/bin/env node - const program = require('commander'); const Beau = require('../beau'); const yaml = require('js-yaml'); @@ -28,7 +27,7 @@ const beau = new Beau(config); if (typeof program.list === 'undefined' && typeof program.request === 'undefined') { - + program.help(); } if (program.list) {