Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve help for crab recover #5295

Open
3 tasks
belforte opened this issue Mar 6, 2024 · 0 comments
Open
3 tasks

improve help for crab recover #5295

belforte opened this issue Mar 6, 2024 · 0 comments

Comments

@belforte
Copy link
Member

belforte commented Mar 6, 2024

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

  • I have no clue what strategy means. I doubt users will know. Please clarify
  • it should be possible to make help print the list in a given order (the order they are declared ? So that the list starts with what users are more likely to use, then rarely used things like --proxy and at the bottom things for CRAB operators
  • there's too many spaces in top description in task did not process
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> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants