lenovo / lenovo/python-redfish-lenovo
lenovo_add_alert_recipient.py Can't use extra args
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 106
- Forks
- 57
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 1
Description
Hi, I'm trying to use the script but I can't make it work, when I add the extra parameters like --RecipientName for example:
python lenovo_add_alert_recipient.py -i 10.10.10.10 -u USERID -p PASSW0RD --RecipientName example --Address 10.10.10.10:514 --Enabledstate 1 --AlertType Syslog
It doesn't work, I only get the error: unrecognized arguments: --RecipientName example --Address 10.10.10.10:514 --Enabledstate 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading lenovo_add_alert_recipient.py and its argument parser, then reproduce the command with the extra options shown in the issue. Check how the parser defines optional arguments and verify that the reported options are accepted without the unrecognized-arguments error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100