From 2d190595363ef1f1a3c2ed4f9fdc71807cbb4b07 Mon Sep 17 00:00:00 2001
From: Sebastien Luttringer <sebastien.luttringer@smartjog.com>
Date: Thu, 27 Oct 2011 15:28:24 +0200
Subject: [PATCH] add long --all-version to -v in changelog

---
 bin/is | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/is b/bin/is
index 2aa55b5..901c34b 100755
--- a/bin/is
+++ b/bin/is
@@ -107,7 +107,7 @@ def c_changelog(parser, args):
     # looks if arguments is a file or image name
     repoman = load_repositories(args)
     img, repo = select_image(args.image, repoman, args.best)
-    img.changelog.show(int(img.version), args.verbose)
+    img.changelog.show(int(img.version), args.all_version)
 
 def c_check(parser, args):
     '''
@@ -371,7 +371,7 @@ p_cat.set_defaults(func=c_cat)
 p_changelog = subparsers.add_parser("changelog", help=c_changelog.__doc__.lower())
 p_changelog.add_argument("-b", "--best", action="store_true", default=False,
                          help="in best mode, image is the most recent in all repositories")
-p_changelog.add_argument("-v", action="store_true", dest="verbose", default=False,
+p_changelog.add_argument("-v", "--all-version",  action="store_true", default=False,
                          help="display changelog for all versions")
 p_changelog.add_argument("image", help="<path|[repository/]image[:version]>")
 p_changelog.set_defaults(func=c_changelog)
-- 
GitLab