Skip to content

Commit

Permalink
[irods/irods#2600] change copies to replicas in help text
Browse files Browse the repository at this point in the history
  • Loading branch information
trel authored and korydraughn committed Jan 5, 2024
1 parent b87cf87 commit 74cbf8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions src/itrim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ usage() {
" ",
"Reduce the number of replicas of a dataObject in iRODS by deleting some replicas.",
"Nothing will be done if this is less than or equal to numCopies. The -n and",
"the -S options are used to specified which copies to delete. If neither of",
"the -S options are used to specify which replicas to delete. If neither of",
"these options are used, the replicas will be trimmed until there are",
"numCopies left. The old copies will be trimmed first, then the 'cache'",
"class copies.",
"numCopies left. The oldest replicas will be trimmed first.",
" ",
"Registered non-vault replicas are never deleted from the filesystem. They ",
"are unregistered and left on disk as-is.",
Expand All @@ -122,17 +121,17 @@ usage() {
"Options are:",
" -M admin - admin user uses this option to trim other users files",
" -n replNum - the replica number of the replica to be deleted",
" -N numCopies - minimum number of most current copies to keep. The default",
" -N numCopies - minimum number of good replicas to keep. The default",
" value is 2.",
" -r recursive - trim the whole subtree",
" -S srcResource - specifies the resource of the replica to be deleted.",
" If specified, only copies stored in this resource will be candidate",
" -S srcResource - specifies the resource of the replica(s) to be deleted.",
" If specified, only replicas stored in this resource will be candidates",
" for the deletion.",
" -v verbose",
" -V Very verbose",
"--age age_in_minutes - The minimum age of the copy in minutes for trimming.",
" i.e., a copy will not be trimmed if its age is less.",
"--dryrun - Do a dry run. No copy will actually be trimmed.",
"--age age_in_minutes - The minimum age of the replica in minutes for trimming.",
" i.e., a replica will not be trimmed if its age is less.",
"--dryrun - Do a dry run. No replicas will be trimmed.",
" -h this help",
""
};
Expand Down
2 changes: 1 addition & 1 deletion src/iunreg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ usage() {
" ",
"Reduce the number of replicas of a dataObject in iRODS by unregistering some replicas.",
"Nothing will be done if this is less than or equal to numCopies. The -n and",
"the -S options are used to specified which replicas to unregister.",
"the -S options are used to specify which replicas to unregister.",
" ",
"Note that if both are used at the same time, the server will return an error",
"if -n violates the requirements of -N.",
Expand Down

0 comments on commit 74cbf8e

Please sign in to comment.