##// END OF EJS Templates
Provide a more useful error for invalid use case....
Jonathan Frederic -
Show More
@@ -215,12 +215,10 b' class NbConvertApp(BaseIPythonApplication):'
215 215
216 216 # No notebooks were specified, show help.
217 217 if len(self.notebooks) == 0:
218 self.print_help()
218 self.print_examples()
219 219
220 # Notebooks were specified, but not converted successfully. Show how
221 # to access help.
222 else:
223 print('For help, use "ipython nbconvert --help"')
220 # Show how to access help.
221 print('For help, use "ipython nbconvert --help"')
224 222
225 223
226 224 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now