Skip to content

Add help message when attempting to load a script without arguments - #1032

Merged
AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
xerox8521:patch-1
Jul 1, 2026
Merged

AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
xerox8521:patch-1

Conversation

@xerox8521

Copy link
Copy Markdown
Contributor

This PR checks if no arguments were passed when attempting to (re-|un-)load a (filter-)script or gamemode and prints a help message instead of just failing to load the script.

This PR checks if no arguments were passed when attemping to (re-|un-)load a filterscript or gamemode and print a help message instead to show how to use the command.
@CLAassistant

CLAassistant commented Dec 13, 2024 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@AmyrAhmady

Copy link
Copy Markdown
Member

formatting is not correct, please check clang format ci logs and fix it

@AmyrAhmady
AmyrAhmady merged commit 28a8b0a into openmultiplayer:master Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants