Skip to content

Commit 9319a84

Browse files
committed
Revert "relink.py: Hide --source-root and --target-root args."
I'll do something like this later... This reverts commit 06e97e2.
1 parent 06e97e2 commit 9319a84

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

relink.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,20 +188,22 @@ def parse_arguments():
188188
"Find files owned by a user and replace them with symbolic links to a target directory."
189189
)
190190
)
191-
192-
# Source and target directories. Hide from help text because these should only be used for
193-
# testing purposes. (That purpose could eventually be replaced with mocked default dirs.)
194191
parser.add_argument(
195192
"--source-root",
196193
type=validate_directory,
197194
default=DEFAULT_SOURCE_ROOT,
198-
help=argparse.SUPPRESS,
195+
help=(
196+
f"The root of the directory tree to search for files (default: {DEFAULT_SOURCE_ROOT})"
197+
),
199198
)
200199
parser.add_argument(
201200
"--target-root",
202201
type=validate_directory,
203202
default=DEFAULT_TARGET_ROOT,
204-
help=argparse.SUPPRESS,
203+
help=(
204+
f"The root of the directory tree where files should be moved to "
205+
f"(default: {DEFAULT_TARGET_ROOT})"
206+
),
205207
)
206208

207209
# Verbosity options (mutually exclusive)

0 commit comments

Comments
 (0)