Whamcloud - gitweb
LU-16232 script: fix the argument parse 12/58012/2
authorYang Sheng <ys@whamcloud.com>
Sat, 6 May 2023 07:16:17 +0000 (15:16 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 May 2025 01:46:18 +0000 (01:46 +0000)
commit48de2407c9f6af2141f64dfa6b440d23c4f69f15
treecaced95a16ed85d72efe4ff7a9bedac56e4f3b50
parent470d06cf5ca7a1eceb30e04d30b350465ffd336c
LU-16232 script: fix the argument parse

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

Lustre-change: https://review.whamcloud.com/50876
Lustre-commit: 99144a595b767ef79acec058c838759bea73c579

Test-Parameter: trival

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