summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-26 16:11:45 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-26 16:11:45 +0100
commitc5453a55f85d5aad9ac5d4abd10084aca0533e87 (patch)
tree4882522f4ae11ffb364208f5f7bcd44c4cffe03e /README
parent1cb22fb87a975edae2e05ea130589483416ed5ea (diff)
downloadcliapp-c5453a55f85d5aad9ac5d4abd10084aca0533e87.tar.gz
Update README specifying that process_args is what implements subcommands.
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 4 insertions, 0 deletions
diff --git a/README b/README
index 4f47434..51c330a 100644
--- a/README
+++ b/README
@@ -93,6 +93,10 @@ All options are global, not specific to the subcommand.
All non-option arguments are passed to the method in its only
argument.
+Subcommands are implemented by the `process_args` method.
+If you override that method, you need to support subcommands
+yourself (perhaps by calling the `cliapp` implementation).
+
Manual pages
------------