Skip to content

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

@ArmoredPony

Description

@ArmoredPony
  • 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.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions