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

the commands from the README do not work #6

Open
amtoine opened this issue May 3, 2023 · 0 comments
Open

the commands from the README do not work #6

amtoine opened this issue May 3, 2023 · 0 comments

Comments

@amtoine
Copy link

amtoine commented May 3, 2023

hello there 👋

i was using your tool at work, tried to run a command very similar to the ones here but then i get an error 😮

the error

> markdown-enum foo.md foo.md
Traceback (most recent call last):
  File "/home/disc/a.stevan/.local/bin/markdown-enum", line 24, in <module>
    main()
  File "/home/disc/a.stevan/.local/bin/markdown-enum", line 11, in main
    minimal_level = int(sys.argv[2])
ValueError: invalid literal for int() with base 10: foo.md'

from the README does not work but

markdown-enum foo.md 2 foo.md

works fine and the usage is correct, only the README is not correct 😌

> markdown-enum
Usage: {} <input-markdown-file> <minimal-level> [<output-file>] 

not that harmful, just wanted to let you know 😌

Note
i started this job after the latest commit, so i think i have the latest version installed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant