##// 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 # No notebooks were specified, show help.
216 # No notebooks were specified, show help.
217 if len(self.notebooks) == 0:
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
220 # Show how to access help.
221 # to access help.
221 print('For help, use "ipython nbconvert --help"')
222 else:
223 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