From 84aab5128d98600f5210de98e1e480ca8fddffd6 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 5 Aug 2022 13:05:32 -0500 Subject: [fix] typos --- app/modify.lisp | 2 +- app/run.lisp | 6 +++--- app/show.lisp | 2 +- oneliners.cli.asd | 5 ++++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/modify.lisp b/app/modify.lisp index 0b5e53d..0b02371 100644 --- a/app/modify.lisp +++ b/app/modify.lisp @@ -33,7 +33,7 @@ (defhandler modify/unflag/handler (id) (ol::unflag-item (parse-identifier id))) -(defun modify/unflag/comnand () +(defun modify/unflag/command () (cli:make-command :name "unflag" :usage "" diff --git a/app/run.lisp b/app/run.lisp index 556b719..16dbde6 100644 --- a/app/run.lisp +++ b/app/run.lisp @@ -4,20 +4,20 @@ (defun run/options () (list - (make-option + (cli:make-option :integer :short-name #\t :long-name "timeout" :key :timeout :initial-value 1 :description "Seconds to wait for output before giving up.") - (make-option + (cli:make-option :flag :short-name #\v :long-name "verbose" :key :verbose :description "echoes the oneliner text that is about to be run") - (make-option + (cli:make-option :flag :short-name #\c :long-name "confirm" diff --git a/app/show.lisp b/app/show.lisp index 2270e67..336e8e6 100644 --- a/app/show.lisp +++ b/app/show.lisp @@ -11,4 +11,4 @@ :name "show" :usage "" :description "show detailed information about a oneliner" - :handelr #'show/handler )) + :handler #'show/handler )) diff --git a/oneliners.cli.asd b/oneliners.cli.asd index 97b3036..465df73 100644 --- a/oneliners.cli.asd +++ b/oneliners.cli.asd @@ -46,6 +46,9 @@ (:file "app")))) :description "A Command-Line tool for fetching, running, creating, and updating unix oneliners from a oneliners wiki server of your - choice.") + choice." + :build-operation "program-op" + :build-pathname "bin/ol" + :entry-point "oneliners.cli.app::main") -- cgit v1.2.3