Document the arguments through a Usage message. If the args passed are wrong, then detect that, print a message describing how to use it, and exit with exit code 1.

For example

Usage: ./newctf.rb config_file_name

Some argument parser libraries will generate this for you.