aboutsummaryrefslogtreecommitdiff
path: root/shiv.py
diff options
context:
space:
mode:
Diffstat (limited to 'shiv.py')
-rw-r--r--shiv.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/shiv.py b/shiv.py
index f19ec51..fe82006 100644
--- a/shiv.py
+++ b/shiv.py
@@ -30,6 +30,23 @@ parser.set_defaults(height=20, group=[])
options, args = parser.parse_args()
+if not any((
+ options.number,
+ options.groups,
+ options.notes,
+ options.notes_stream,
+ options.histogram,
+ options.vel_hist,
+ options.duration,
+ options.duty_cycle,
+ options.aux,
+ options.meta,
+ options.histogram_tracks,
+ options.vel_hist_tracks,
+)):
+ print 'No computations specified! Assuming you meant --almost-all...'
+ options.almost_all = True
+
if options.almost_all or options.all:
options.number = True
options.groups = True