Skip to content
Browse files

fix cli docs, closes #58

  • Loading branch information...
1 parent 7c4f203 commit de8c0186ec1cf1d50793c122cccbedc0d0f3fba2 @tomerfiliba committed Apr 8, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 docs/cli.rst
2 docs/cli.rst
@@ -81,6 +81,8 @@ CLI toolkit; it exposes methods of your CLI application as CLI-switches, allowin
invoked from the command line. Let's examine the following toy application::
class MyApp(cli.Application):
+ _allow_root = False # provide a default
@cli.switch("--log-to-file", str)
def log_to_file(self, filename):
"""Sets the file into which logs will be emitted"""

0 comments on commit de8c018

Please sign in to comment.
Something went wrong with that request. Please try again.