From de4d3bcf3add9b8bf9bcd50cf7d363d0682d5f8c Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 12 May 2016 03:33:23 +0200 Subject: [PATCH] Update README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a30e80..6ab47a2 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,10 @@ import * as smartcli from "smartcli" /* -------------- Check Functions -------------------*/ smartcli.check.command("jazz"); // check for a special command. smartcli.check.commandPresence() // check if any command is specified -smartcli.check.commandArguemnt("myargument") // checks if a special argument is given +smartcli.check.commandArguemnt("myargument",1) // checks if a special argument is given, second argument is level smartcli.check.commandArguemntPresence // checks of any Argument is present +smartcli.check.option("someoption") // checks for a specific option +smartcli.check.optionPresence() // checks if any option is specified smartcli.get.option('myoption'); // ```