Skip to content

Commit 82e354e

Browse files
authored
Update main.cr
1 parent a76ce50 commit 82e354e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

HackerOS-Updater/main.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ def main
153153

154154
OptionParser.parse do |parser|
155155
parser.banner = "Usage: HackerOS-Updater [options]"
156-
parser.on("with-gui", "Run in GUI mode with Alacritty") { with_gui = true }
156+
parser.on("--with-gui", "Run in GUI mode with Alacritty") { with_gui = true }
157157
parser.on("--gui-mode", "Internal GUI mode") { gui_mode = true }
158-
parser.on("disable-automatic-update", "Disable automatic updates") { disable_auto = true }
158+
parser.on("--disable-automatic-update", "Disable automatic updates") { disable_auto = true }
159159
parser.on("--auto", "Run in automatic mode (internal)") { auto_mode = true }
160160
end
161161

0 commit comments

Comments
 (0)