aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/modify.lisp2
-rw-r--r--app/run.lisp6
-rw-r--r--app/show.lisp2
-rw-r--r--oneliners.cli.asd5
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 "<IDENTIFIER>"
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 "<IDENTIFIER>"
: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")