glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
5.51k stars 159 forks source link

CommandLine.HelpVerbRequestedError on `--help` with no verb #625

Closed 2gn closed 1 month ago

2gn commented 3 months ago

Steps to reproduce

Full terminal output

PS C:\Users\Name> glazewm --help
PS C:\Users\Name> GlazeWM 1.0.0+0e9b289bc8ded7e6fc7e84ac260c7e8a1800621a
Copyright (C) 2024 GlazeWM

  start         (Default Verb)

  watcher

  command       Invoke a WM command (eg. `command "focus workspace 1"`).

  subscribe     Subscribe to a WM event (eg. `subscribe -e window_focus,window_close`)

  monitors      Get all monitors.

  workspaces    Get all workspaces.

  windows       Get all windows.

  help          Display more information on a specific command.

  version       Display version information.

Failed to parse startup arguments: CommandLine.HelpVerbRequestedError.

Expected behavior

Works without error and gives back control to the shell immediately after printing helps

Probable solution

This error seems to happen due to lack of verb. --help without any verb should be allowed.

lars-berger commented 1 month ago

This is no longer an issue in v3 👍 Latest release