def _add_reprozip_trace_arguments(parser):
    """Add arguments to `parser` for sub-command `reprozip-trace`."""
    p = parser
    p.add_argument('container', help=
        'Running container in which to trace commands.')
    p.add_argument('commands', nargs='+', help='Command(s) to trace.')
    p.add_argument('--dir', '-d', dest='packfile_save_dir', default='.',
        help=
        'Directory in which to save pack file. Default is current directory.')
