aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/layman7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/layman b/bin/layman
index fa1a3ab..965d89b 100755
--- a/bin/layman
+++ b/bin/layman
@@ -7,11 +7,13 @@
# Copyright:
# (c) 2005 Gunnar Wrobel
# (c) 2009 Sebastian Pipping
+# (c) 2011 Brian Dolbec
# Distributed under the terms of the GNU General Public License v2
#
# Author(s):
# Gunnar Wrobel <wrobel@gentoo.org>
# Sebastian Pipping <sebastian@pipping.org>
+# Brian Dolbec <brian.dolbec@gmail.com>
#
__version__ = "$Id$"
@@ -23,7 +25,7 @@ __version__ = "$Id$"
#-------------------------------------------------------------------------------
from layman.config import ArgsParser
-from layman.action import main
+from layman.cli import Main
#===============================================================================
#
@@ -31,4 +33,5 @@ from layman.action import main
#
#-------------------------------------------------------------------------------
-main(ArgsParser())
+main = Main(ArgsParser())
+main()