Skip to content

Commit

Permalink
Command documentation updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram Wieringa committed Dec 12, 2024
1 parent 0f9bfa3 commit 477d3f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Cli/subcommandDescriptionsGenerated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let subcommandDescriptions = [
[" move-mouse", "Move mouse to the requested position"],
[" move-node-to-monitor", "Move window to monitor targeted by relative direction, by order, or by pattern"],
[" move-node-to-workspace", "Move the focused window to the specified workspace"],
[" move-workspace-to-monitor", "Move the focused workspace to the next or previous monitor."],
[" move-workspace-to-monitor", "Move the focused workspace monitor by order, or resets to the default monitor."],
[" move", "Move the focused window in the given direction"],
[" reload-config", "Reload currently active config"],
[" resize", "Resize the focused window"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public struct MoveWorkspaceToMonitorCmdArgs: CmdArgs {
"--wrap-around": trueBoolFlag(\.wrapAround),
"--workspace": optionalWorkspaceFlag(),
],
arguments: [newArgParser(\.target, parseMonitorTarget, mandatoryArgPlaceholder: "(next|prev)")]
arguments: [newArgParser(\.target, parseMonitorTarget, mandatoryArgPlaceholder: "(next|prev|reset)")]
)

public var windowId: UInt32?
Expand Down
1 change: 1 addition & 0 deletions Sources/Common/cmdHelpGenerated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ let move_node_to_workspace_help_generated = """
"""
let move_workspace_to_monitor_help_generated = """
USAGE: move-workspace-to-monitor [-h|--help] [--workspace <workspace>] [--wrap-around] (next|prev)
OR: move-workspace-to-monitor [-h|--help] [--workspace <workspace>] (reset)
"""
let move_help_generated = """
USAGE: move [-h|--help] [--window-id <window-id>] (left|down|up|right)
Expand Down

0 comments on commit 477d3f5

Please sign in to comment.