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

False documentation for parameters #9

Open
orhun opened this issue Apr 16, 2022 · 0 comments
Open

False documentation for parameters #9

orhun opened this issue Apr 16, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@orhun
Copy link
Owner

orhun commented Apr 16, 2022

Describe the bug
Current regex for parsing the documentation gives false results sometimes.

To reproduce

Here is a few examples:

$ systeroid -E fs.mount-max

mount-max
=========
This denotes the maximum number of mounts that may exist
in a mount namespace.

# rest is irrelevant

2. /proc/sys/fs/binfmt_misc
===========================
# ...
$ systeroid -E net.mptcp.enabled

# completely irrelevant

seg6_enabled - BOOL
===================
Accept or drop SR-enabled IPv6 packets on this interface.
# ...

Expected behavior
Correct part of the documentation is parsed for the given parameter.

Screenshots / Logs
-

Software information

  • Operating system: Arch GNU/Linux x86_64 5.17.1-arch1-1
  • Rust version: rustc 1.62.0-nightly (8f36334ca 2022-04-06)
  • Project version: 0.1.0-rc.1

Additional context
-

@orhun orhun added the bug Something isn't working label Apr 16, 2022
@orhun orhun self-assigned this Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant