changeset 528:581dfd11d9fd

-v for old ascoltami Ignore-this: 4479304616f754efc7f352d3a58f6307
author drewp@bigasterisk.com
date Fri, 11 Jun 2010 07:13:50 +0000
parents a3bad700f2a8
children 1156d3531327
files bin/ascoltami
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ascoltami	Fri Jun 11 07:13:40 2010 +0000
+++ b/bin/ascoltami	Fri Jun 11 07:13:50 2010 +0000
@@ -516,9 +516,14 @@
     parser = OptionParser()
     parser.add_option('--show',
         help='show URI, like http://light9.bigasterisk.com/show/dance2008')
+    parser.add_option("-v", "--verbose", action="store_true",
+                      help="logging.DEBUG")
     graph = showconfig.getGraph()
     (options, songfiles) = parser.parse_args()
 
+    if options.verbose:
+        log.setLevel(logging.DEBUG)
+        
     if len(songfiles)<1:
         graph = showconfig.getGraph()
         if not options.show: