Whamcloud - gitweb
LU-16232 script: fix the argument parse 76/50876/4
authorYang Sheng <ys@whamcloud.com>
Sat, 6 May 2023 07:16:17 +0000 (15:16 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:29:52 +0000 (06:29 +0000)
commit99144a595b767ef79acec058c838759bea73c579
tree5d7324311bdff6aa1cc2fb30feaddeebc14dded8
parent88141538c475b99fe911c54a60e5c004c5296a55
LU-16232 script: fix the argument parse

The issue makes script skip other arguments if
the special parameter is not last one.

Test-Parameter: trival

Fixes: b533700add (LU-16232 scripts: changelog/updatelog emergency cleanup)
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: Ia309e7b6f1a62e76b80851848601c3d0b03be8b2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50876
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/remove_changelog
lustre/scripts/remove_updatelog