From bd7dfbfe2d95716b08a309a4026d678ce1819fc7 Mon Sep 17 00:00:00 2001 From: Eugene Dounar Date: Sun, 10 Mar 2013 17:21:24 +0300 Subject: [PATCH] [#2290] Single command apps with arguments | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #2290 --- components/console/single_command_tool.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/console/single_command_tool.rst b/components/console/single_command_tool.rst index 813096b9a0c..3ed04ec4a20 100644 --- a/components/console/single_command_tool.rst +++ b/components/console/single_command_tool.rst @@ -47,3 +47,8 @@ it is possible to remove this need by extending the application:: When calling your console script, the command `MyCommand` will then always be used, without having to pass its name. + +.. note:: + + If your command accepts one or more arguments, you may also want to override + getDefinition() method.