Skip to content

Commit

Permalink
Merge pull request #1638 from Thaodan/build_notimestamp
Browse files Browse the repository at this point in the history
Add --no-timestamps parameter to build
  • Loading branch information
dmach authored Oct 11, 2024
2 parents 8f10569 + 88d1d96 commit 430ffcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,8 @@ def main(apiurl, store, opts, argv):
pac = pac + ":" + opts.multibuild_package
if opts.verbose_mode:
buildargs.append('--verbose=%s' % opts.verbose_mode)
if opts.no_timestamps:
buildargs.append('--no-timestamps')
if opts.wipe:
buildargs.append("--wipe")

Expand Down
2 changes: 2 additions & 0 deletions osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7313,6 +7313,8 @@ def parse_repoarchdescr(self, args, noinit=False, alternative_project=None, igno
help='Do not use preinstall images for creating the build root.')
@cmdln.option("--just-print-buildroot", action="store_true",
help="Print build root path and exit.")
@cmdln.option('--no-timestamps', '-s', '--strip-time', action='store_true',
help='Hide the time prefix in output.')
@cmdln.alias('chroot')
@cmdln.alias('shell')
@cmdln.alias('wipe')
Expand Down

0 comments on commit 430ffcf

Please sign in to comment.