From 68ce8403e6b55fffced04cf54ddd8fc7f75331b0 Mon Sep 17 00:00:00 2001 From: Denis Defreyne Date: Sat, 1 Apr 2017 13:54:53 +0200 Subject: [PATCH] Update documentation --- README.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.adoc b/README.adoc index 5eb40bf..9e39b51 100644 --- a/README.adoc +++ b/README.adoc @@ -193,6 +193,14 @@ root_cmd.add_command(cmd_commit) root.cmd.add_command(cmd_init) -------------------------------------------------------------------------------- +You can specify a default subcommand. This subcommand will be executed when the +command has subcommands, and no subcommands are otherwise explicitly specified: + +[source,ruby] +-------------------------------------------------------------------------------- +default_subcommand 'compile' +-------------------------------------------------------------------------------- + == Contributors == * Toon Willems