1. Felix Krull
  2. rgain

Commits

Felix Krull  committed a23d480

Add command line and man page description for --jobs.

  • Participants
  • Parent commits 6ea9a81
  • Branches mp

Comments (0)

Files changed (2)

File man/collectiongain.rst

View file
  • Ignore whitespace
     Don't trust implicit assumptions about what was already done, instead check
     all files for Replay Gain data explicitly.
 
+-j JOBS, --jobs=JOBS
+    Run JOBS jobs simultaneously. Must be >= 1. By default, this is set to the
+    number of CPU cores in the system to provide best performance.
+
 SEE ALSO
 ========
 

File rgain/script/collectiongain.py

View file
  • Ignore whitespace
                     "about what was already done, instead check all files for "
                     "Replay Gain data explicitly.", dest="ignore_cache",
                     action="store_true")
-    opts.add_option("-j", "--jobs", help="TODO help.", dest="jobs",
-                    action="store", type="int")
+    opts.add_option("-j", "--jobs", help="Specifies the number of jobs to run "
+                    "simultaneously. Must be >= 1. By default, this is set to "
+                    "the number of CPU cores in the system to provide best "
+                    "performance.", dest="jobs", action="store", type="int")
 
     opts.set_defaults(ignore_cache=False, jobs=None)