Whamcloud - gitweb
LU-10249 utils: Fix lustre_rsync program options 07/56407/6
authorMarc Vef <mvef@whamcloud.com>
Tue, 17 Sep 2024 00:08:58 +0000 (02:08 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:10:19 +0000 (06:10 +0000)
commit45cb8d54700c6c4b42d4d3e40b38cb05bad0494b
tree3e3f97781ec0d09695a8fb451d7195f25f7bfd8b
parent660787c66fa80182a55c0f89895880a884fe0ba5
LU-10249 utils: Fix lustre_rsync program options

The lustre_rsync program options were incomplete and presented
incorrectly, e.g., the -r option.

This patch improves the program options. It adds a short and long
usage message in accordance to the Lustre documentation replacing the
previous usage message.  Moreover, a check to specify the mdt device
was added as it was missing. Other small changes were added to improve
user interaction.

Signed-off-by: Marc Vef <mvef@whamcloud.com>
Change-Id: I871a218381b371e61f0b3a258a4773d3e755101e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56407
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lustre_rsync.c