lspci args parser issue #18
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when I'm fallowing your documentation example with verbose=True I'm having the following issue:
usage: main.py [-h] [-r [REVISION]] [-p [PROGIF]]
slot cls vendor device subsystem_vendor subsystem_device
main.py: error: argument slot: invalid Slot value: 'Slot:'
example:
from pylspci.command
from pylspci import parser
parser.run(verbose=True,hide_single_domain=False, id_resolve_option=IDResolveOption.NameOnly,)
assigned to @Lucidiot
mentioned in merge request !12
Thanks for reporting!
It seems this was a mistake in the docs themselves, so I updated them. GitLab Pages is deploying the new docs and they should be up to date on https://lucidiot.gitlab.io/pylspci/ soon.
from pylspci import parser
causes aSimpleParser
to be imported, which is unable to use theverbose=True
option. To use verbose mode, you need theVerboseParser
, which will setverbose=True
by default:I will be adding a new exception in !12 to give a more helpful error message next time, and will be releasing this as v0.3.3.
mentioned in commit
7da6c0756c