Skip to content
Snippets Groups Projects
Commit c5e8f09b authored by cody burkard's avatar cody burkard
Browse files

adding comments to CLI

parent cde6c3aa
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,12 @@ def waitForNode( self, node ):
# read data but before it has been printed.
node.sendInt()
def precmd( self, line ):
"allow for comments in the cli"
if '#' in line:
line = line.split( '#' )[ 0 ]
return line
# Helper functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment