From 54ba4fe8a12947612dceb00553c3e75c96c8a972 Mon Sep 17 00:00:00 2001 From: Bert Burgemeister Date: Tue, 12 Jun 2012 10:06:53 +0200 Subject: [PATCH] Be more helpful when called without any options --- cli.lisp | 87 ++++++++++++++++++++++++++++++++------------------------ etc/one-line.cth | 4 +++ etc/short.cth | 3 +- util.lisp | 12 -------- 4 files changed, 56 insertions(+), 50 deletions(-) create mode 100644 etc/one-line.cth diff --git a/cli.lisp b/cli.lisp index 4cd9f63..14eb6ae 100644 --- a/cli.lisp +++ b/cli.lisp @@ -624,6 +624,19 @@ :fallback-value "*" :description "List the specified user with their presentation projects, or all users if no user is given.")))) +(defun cli:first-action-option (&rest options) + "Run action called