From 46478b7878d4cb4339a706ae24de7fa16b747458 2013-07-15 23:15:34 From: Jonathan Frederic Date: 2013-07-15 23:15:34 Subject: [PATCH] Fixed, base aliases not overridden any longer --- diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index 68c6a3f..dad682d 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -87,13 +87,15 @@ class NbConvertApp(BaseIPythonApplication): notebooks = List([], config=True, help="""List of notebooks to convert. Search patterns are supported.""") - aliases = {'format':'NbConvertApp.export_format', + nbconvert_aliases = {'format':'NbConvertApp.export_format', 'notebooks':'NbConvertApp.notebooks', 'writer':'NbConvertApp.writer_class'} @catch_config_error def initialize(self, argv=None): + self.aliases.update(nbconvert_aliases) + super(NbConvertApp, self).initialize(argv) #Register class here to have help with help all