Skip to content
Snippets Groups Projects
Commit 2d190595 authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

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

parent d27ea0c8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment