##// END OF EJS Templates
Restored ipython profile locate dir and fixed typo. (Fixes #3708).
Katie Silverio -
Show More
@@ -86,7 +86,7 b' _main_examples = """'
86 86 ipython profile create -h # show the help string for the create subcommand
87 87 ipython profile list -h # show the help string for the list subcommand
88 88
89 ipython locate profile foo # print the path to the directory for profile 'foo'
89 ipython profile locate foo # print the path to the directory for profile 'foo'
90 90 """
91 91
92 92 #-----------------------------------------------------------------------------
@@ -121,7 +121,7 b' def list_bundled_profiles():'
121 121
122 122
123 123 class ProfileLocate(BaseIPythonApplication):
124 description = """print the path an IPython profile dir"""
124 description = """print the path to an IPython profile dir"""
125 125
126 126 def parse_command_line(self, argv=None):
127 127 super(ProfileLocate, self).parse_command_line(argv)
@@ -299,6 +299,7 b' class ProfileApp(Application):'
299 299 subcommands = Dict(dict(
300 300 create = (ProfileCreate, ProfileCreate.description.splitlines()[0]),
301 301 list = (ProfileList, ProfileList.description.splitlines()[0]),
302 locate = (ProfileLocate, ProfileLocate.description.splitlines()[0]),
302 303 ))
303 304
304 305 def start(self):
@@ -310,4 +311,3 b' class ProfileApp(Application):'
310 311 self.exit(1)
311 312 else:
312 313 return self.subapp.start()
313
General Comments 0
You need to be logged in to leave comments. Login now