dmwm / CRABClient

runrange
14 stars 35 forks source link

improve help for crab recover #5295

Open belforte opened 4 months ago

belforte commented 4 months ago

current text is below. I see a few things to improve

belforte@lxplus812/TC3> crab recover --help
Usage: crab.py recover [options] [args]

     given a taskname, create a new task that process only what the original
task     did not process yet

Options:
  -h, --help            show this help message and exit
  --strategy=STRATEGY   When using lumibased splitting, sets crab report
                        --recovery=$option
  --destinstance=DESTINSTANCE
                        (Experimental) The CRABServer instance where you want
                        to submit the recovery task to. Should be used by crab
                        operators only
  --forcekill           Allows to kill failing task submitted by another user.
                        Effective only for crab operators
  --proxy=PROXY         Use the given proxy. Skip Grid proxy creation and
                        myproxy delegation.
  -d PROJDIR, --dir=PROJDIR
                        Path to the CRAB project directory for which the crab
                        command should be executed.
  --task=CMPTASK        The complete task name. Can be taken from 'crab
                        status' output, or from dashboard.
  --instance=INSTANCE   Running instance of CRAB service. Valid values are
                        dict_keys(['prod', 'preprod', 'auth', 'test1',
                        'test2', 'test3', 'test4', 'test5', 'test6', 'test11',
                        'test12', 'stefanovm', 'stefanovm2', 'other']).
belforte@lxplus812/TC3>