Skip to content

Commit

Permalink
Merge pull request #440 from modcloth/dash-v-sets-verbose-true
Browse files Browse the repository at this point in the history
Passing "-v" sets $VERBOSE to true
  • Loading branch information
alex committed Feb 24, 2013
2 parents fa180b2 + 55b6b7c commit 7174ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/tags/command_line/dash_v_tags.txt

This file was deleted.

3 changes: 3 additions & 0 deletions topaz/main.py
Expand Up @@ -157,6 +157,9 @@ def _entry_point(space, argv):

if verbose:
os.write(1, "%s\n" % description)
space.globals.set(space, "$VERBOSE", space.w_true)
else:
space.globals.set(space, "$VERBOSE", space.w_false)

if exprs:
source = "\n".join(exprs)
Expand Down

0 comments on commit 7174ef9

Please sign in to comment.