mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Use flag.ExitOnError for automatic error handling. Remove manual error check in main(). Set proper exit codes: 0 for help, 2 for parsing errors. Avoid misleading '<InitS> error' log on help requests.