diff --git a/bin/is b/bin/is index 2aa55b5bc6f58e94f4a7673ad03be2b38ce53d78..901c34b7e6b6b7e897d1393713359e7a26bd2b2f 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)