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

Notification "unknown option -- u" in tool st-util #1326

Closed
4 tasks done
ArmoredPony opened this issue Aug 16, 2023 · 0 comments · Fixed by #1327
Closed
4 tasks done

Notification "unknown option -- u" in tool st-util #1326

ArmoredPony opened this issue Aug 16, 2023 · 0 comments · Fixed by #1327

Comments

@ArmoredPony
Copy link
Contributor

ArmoredPony commented Aug 16, 2023

  • I made serious effort to avoid creating duplicate or nearly similar issue
  • Operating system and version: Windows v10.0.19045.3271
  • stlink tools version: v1.7.0-296-gf7fb0a6-dirty
  • stlink commandline tool name: st-util

st-util -h command prints the following lines:

...
-u, --connect-under-reset
                      Connect to the board before executing any instructions.
...

As I understand, -u is an alias for --connect-under-reset, however, st-util doesnt recognize it. If I run st-util with -u I get the following output:

C:\Users\user>st-util -u
st-util: unknown option -- u
st-util 1.7.0-296-gf7fb0a6-dirty
2023-08-16T16:16:09 INFO ...

and the board does not reset.

If I run st-util with --connect-under-reset instead of -u, then the board gets reset and the "unknown option" error does not appear.

@Nightwalker-87 Nightwalker-87 added this to the v1.8.0 milestone Aug 18, 2023
@Nightwalker-87 Nightwalker-87 changed the title st-util unknown option -- u Notification "unknown option -- u" in tool st-util Sep 1, 2023
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants