[LU-10249] lustre_rsync usage message is wrong and incomplete Created: 16/Nov/17  Updated: 29/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-930 Update or improvement to a Lustre man... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The -r option description in the lustre_rsync usage message is wrong:

m:~# lustre_rsync
Please specify changelog consumer registration id.
    lustre_rsync -s <lustre_root_path> -t <target_path> -m <mdt> -r <user id> -l <status log>
lustre_rsync can also pick up parameters from a status log created earlier.
    lustre_rsync -l <log_file>
options:
    --xattr <yes|no> replicate EAs
    --abort-on-err   abort at first err
    --verbose
    --dry-run        don't write anything

We should give the short and long options in the help message.
We should also support --help.
Unrecognized options should print the short usage message. Only --help should print the long usage message. And --help should print options to stdout.


Generated at Sat Feb 10 02:33:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.