Commit 2d190595 authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

add long --all-version to -v in changelog

parent d27ea0c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)