blob: b03e437223c240b483fdb49006629fbfa7449af0 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Chrome OS Image kernel cmdline dump."""
from chromite.lib import commandline
from chromite.signing.image_signing import imagefile
def main(argv):
parser = commandline.ArgumentParser(description=__doc__)
parser.add_argument('input_image', type='path',
help='Path to input image file')
options = parser.parse_args(argv)
options.Freeze()
imagefile.DumpConfig(options.input_image)