From ef0c89304d514957d27e913224dd96a20ebfba29 Mon Sep 17 00:00:00 2001 From: Shuangquan Zhou Date: Tue, 20 Sep 2011 09:54:45 +0800 Subject: [PATCH] Corrected a mistake of fs_plugin --- plugins/imager/fs_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/imager/fs_plugin.py b/plugins/imager/fs_plugin.py index 2f56ac6..aa76c1e 100644 --- a/plugins/imager/fs_plugin.py +++ b/plugins/imager/fs_plugin.py @@ -28,7 +28,7 @@ class FsPlugin(ImagerPlugin): name = 'fs' @classmethod - @cmdln.option("--include-src", dest="include_src", help="include source pakcage") + @cmdln.option("--include-src", dest="include_src", action="store_true", default=False, help="Generate a image with source rpms included") def do_create(self, subcmd, opts, *args): """${cmd_name}: create fs image -- 2.7.4