Commit a9e10b6b authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

add support for bash-completion through optcomplete (

git-svn-id: d4600afd-f417-0410-95de-beed9576f240
parent 00d1e489
......@@ -145,6 +145,12 @@ layout.add_option("--for", action="callback", callback=push_option, type="string
layout.add_option("--history", action="callback", callback=push_option, type="string", metavar="INIT|CONDITION|STEP", help="simplified scripting (does not overwrite previous results)")
layout.add_option("--refresh-rate", type="string", metavar="TIME", default="1h", help="for/history files refresh rate")
import optcomplete
except ImportError:
(options, args) = parser.parse_args()
graph = GraphInterface()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment