History

python/scripts/aubiocut: make -i optional

Paul Brossier committed 12 years ago

Commit 1e1a2c91 parent d4c09321 file · +6 −2Browse files

Showing the changes to python/scripts (1 of 1 file). Show all

Unified · Split

python/scripts/aubiocut+6−2
@@ -114,8 +114,12 @@ def parse_args(): · 113 unmodified lines
114 help="be quiet")114 help="be quiet")
115 (options, args) = parser.parse_args()115 (options, args) = parser.parse_args()
116 if not options.source_file:116 if not options.source_file:
117 print "no file name given\n", usage117 import os.path
118 sys.exit(1)118 if len(args) == 1:
119 options.source_file = args[0]
120 else:
121 print "no file name given\n", usage
122 sys.exit(1)
119 return options, args123 return options, args
120 124
121if __name__ == '__main__':125if __name__ == '__main__':

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t