From 8562f723c535b372e82dd1d6320b0c6eb2070877 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 19 Oct 2015 14:14:04 -0400 Subject: [PATCH] Load device info after all other device commands This command obscures help pages for all device commands registered afterwards since it's a common prefix for all of them. --- build/app.js | 4 ++-- lib/app.coffee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/app.js b/build/app.js index b7c90e39..2abe96db 100644 --- a/build/app.js +++ b/build/app.js @@ -66,14 +66,14 @@ capitano.command(actions.device.init); - capitano.command(actions.device.info); - capitano.command(actions.device.remove); capitano.command(actions.device.identify); capitano.command(actions.device.register); + capitano.command(actions.device.info); + capitano.command(actions.notes.set); capitano.command(actions.keys.list); diff --git a/lib/app.coffee b/lib/app.coffee index 3882b9a2..d39a04b3 100644 --- a/lib/app.coffee +++ b/lib/app.coffee @@ -45,10 +45,10 @@ capitano.command(actions.app.info) capitano.command(actions.device.list) capitano.command(actions.device.rename) capitano.command(actions.device.init) -capitano.command(actions.device.info) capitano.command(actions.device.remove) capitano.command(actions.device.identify) capitano.command(actions.device.register) +capitano.command(actions.device.info) # ---------- Notes Module ---------- capitano.command(actions.notes.set)