Description: Add support for credentials-file in lp-shell.
Author: Dimitri John Ledkov <xnox@ubuntu.com>


--- lptools-0.2.0.orig/bin/lp-shell
+++ lptools-0.2.0/bin/lp-shell
@@ -39,6 +39,9 @@ def main():
     opt_parser.add_option('-c', type=str,
                           dest='command', default=None,
                           help='Run code passed as string.')
+    opt_parser.add_option('--credentials-file', type=str,
+                          default=None,
+                          help='Use unecrypted credentials file')
     opt_parser.add_option('--ipython', action='store_const',
                           dest='shell', const='ipython', default="ipython",
                           help='Use ipython shell (default).')
@@ -70,6 +73,7 @@ def main():
                   '"%s":' % (instance, api_version))
     else:
         launchpad = Launchpad.login_with('lp-shell', instance,
+                                         credentials_file=options.credentials_file,
                                          version=api_version)
         banner = 'Connected to LP service "%s" with API version "%s":' % \
                  (instance, api_version)
