From 7db2786706e3f4b5cfbf90c88c29ba1ee1f1f39c Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sun, 17 Mar 2019 00:17:27 -0400 Subject: Added more documentation --- docs/argument_processing.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/argument_processing.rst') diff --git a/docs/argument_processing.rst b/docs/argument_processing.rst index bad683bf..095b4bda 100644 --- a/docs/argument_processing.rst +++ b/docs/argument_processing.rst @@ -9,7 +9,9 @@ Argument Processing 1. Parsing input and quoted strings like the Unix shell 2. Parse the resulting argument list using an instance of ``argparse.ArgumentParser`` that you provide -3. Passes the resulting ``argparse.Namespace`` object to your command function +3. Passes the resulting ``argparse.Namespace`` object to your command function. The ``Namespace`` includes the + ``Statement`` object that was parsed from the command line. It is stored in the ``__statement__`` attribute of + the ``Namespace``. 4. Adds the usage message from the argument parser to your command. 5. Checks if the ``-h/--help`` option is present, and if so, display the help message for the command -- cgit v1.2.1