Browse Source

show error on unknown command

pull/14/head
Brett Langdon 11 years ago
parent
commit
c3f044c6ad
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/api/tag.js

+ 2
- 0
lib/api/tag.js View File

@ -257,6 +257,8 @@ module.exports = {
update(host, tags, source, callback); update(host, tags, source, callback);
} else if(subcommand === "delete"){ } else if(subcommand === "delete"){
remove(host, source, callback); remove(host, source, callback);
} else {
callback("unknown subcommand or arguments try `dogapi tag --help` for help", false);
} }
} }
} }

Loading…
Cancel
Save