summaryrefslogtreecommitdiff
path: root/examples/tab_autocompletion.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-19 12:49:24 -0400
committerEric Lin <anselor@gmail.com>2018-04-19 12:49:24 -0400
commitdf09c85e8db95622820712f29228dac2dc049935 (patch)
tree3c6ccbd0b03a0ff510d112a97c512e87fc7999c4 /examples/tab_autocompletion.py
parentc2186332aeb6f59063bb410fca25ed400ce410cd (diff)
downloadcmd2-git-df09c85e8db95622820712f29228dac2dc049935.tar.gz
Identified and marked a few blocks of code that can't be reached during unit tests due to the lack of a real terminal. Some more comments.
Diffstat (limited to 'examples/tab_autocompletion.py')
-rwxr-xr-xexamples/tab_autocompletion.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py
index 448268d0..9741dce2 100755
--- a/examples/tab_autocompletion.py
+++ b/examples/tab_autocompletion.py
@@ -1,6 +1,10 @@
#!/usr/bin/env python
# coding=utf-8
-"""A simple example demonstrating how to use flag and index based tab-completion functions
+"""
+A example usage of the AutoCompleter
+
+Copyright 2018 Eric Lin <anselor@gmail.com>
+Released under MIT license, see LICENSE file
"""
import argparse
import itertools