diff options
Diffstat (limited to 'examples/example-exitcode')
| -rw-r--r-- | examples/example-exitcode/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-exitcode/src/main.rs b/examples/example-exitcode/src/main.rs index c7f731d..f0db05b 100644 --- a/examples/example-exitcode/src/main.rs +++ b/examples/example-exitcode/src/main.rs @@ -28,7 +28,7 @@ fn main() { // --------- IMPORTANT --------- // Register `ExitCodeSetup` for the program to enable exit codes - program.with_setup(ExitCodeSetup::default()); + program.with_setup(ExitCodeSetup); // --------- IMPORTANT --------- program.exec_and_exit(); |
