Skip to content

Commit 430ffcf

Browse files
authored
Merge pull request openSUSE#1638 from Thaodan/build_notimestamp
Add --no-timestamps parameter to build
2 parents 8f10569 + 88d1d96 commit 430ffcf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

osc/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,8 @@ def main(apiurl, store, opts, argv):
880880
pac = pac + ":" + opts.multibuild_package
881881
if opts.verbose_mode:
882882
buildargs.append('--verbose=%s' % opts.verbose_mode)
883+
if opts.no_timestamps:
884+
buildargs.append('--no-timestamps')
883885
if opts.wipe:
884886
buildargs.append("--wipe")
885887

osc/commandline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7313,6 +7313,8 @@ def parse_repoarchdescr(self, args, noinit=False, alternative_project=None, igno
73137313
help='Do not use preinstall images for creating the build root.')
73147314
@cmdln.option("--just-print-buildroot", action="store_true",
73157315
help="Print build root path and exit.")
7316+
@cmdln.option('--no-timestamps', '-s', '--strip-time', action='store_true',
7317+
help='Hide the time prefix in output.')
73167318
@cmdln.alias('chroot')
73177319
@cmdln.alias('shell')
73187320
@cmdln.alias('wipe')

0 commit comments

Comments
 (0)