From 2c1fae1b1819af62b74c3115a295fc51520a6fe9 Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 29 Jan 2020 11:23:49 +0100 Subject: [PATCH] readme: update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e98d2a5..382839d 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ A simple CLI library for Carp. (let [p (=> (CLI.new @"My super cool tool!") (CLI.add &(CLI.option "--flag" "-f" "my flag" true)))] (match (CLI.parse &p) - (Result.Success p) (IO.println &(str &(CLI.get &p "--flag"))) + (Result.Success p) (IO.println &(str &(CLI.get &p "flag"))) (Result.Error msg) (do (IO.errorln &msg) (CLI.usage &p))))) ``` -## Usage +## Installation ```clojure (load "git@github.com:carpentry-org/cli.carp.git@master")