Skip to content

Commit

Permalink
ui: '-j' option now mentions docs (iterative#4382)
Browse files Browse the repository at this point in the history
* ui: '-j' option now mentions docs

* ui: copied '-j' default value desc. from cmd ref
  • Loading branch information
nik123 authored Aug 15, 2020
1 parent 023dec4 commit 4439294
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dvc/command/data_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ def shared_parent_parser():
"-j",
"--jobs",
type=int,
help="Number of jobs to run simultaneously.",
help=(
"Number of jobs to run simultaneously. "
"The default value is 4 * cpu_count(). "
"For SSH remotes, the default is 4. "
),
metavar="<number>",
)
parent_parser.add_argument(
Expand Down
6 changes: 5 additions & 1 deletion dvc/command/gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ def add_parser(subparsers, parent_parser):
"-j",
"--jobs",
type=int,
help="Number of jobs to run simultaneously.",
help=(
"Number of jobs to run simultaneously. "
"The default value is 4 * cpu_count(). "
"For SSH remotes, the default is 4. "
),
metavar="<number>",
)
gc_parser.add_argument(
Expand Down

0 comments on commit 4439294

Please sign in to comment.