Skip to content

Command Line Arguments

BigMac Admin edited this page Nov 18, 2022 · 5 revisions

Typically Renew should be called just by itself, however some command line arguments have been provided in order to facilitate testing. There are no valid combinations of command line options, only one option should be included at any time.

Renew should always be invoked as a currently logged in user, NOT as root.

--help or -h

Print basic man page style instructions on options for using the tool.

--reset

This argument will reset the user's deferral profile to all zeros.

--version

This argument will print the Renew and Dialog version and exit.

--force-aggro

This argument will force a SwiftDialog window with the "Aggressive Mode" options regardless of the current uptime or deferral options.

Tip: Remember you can use the SecretQuitKey to dismiss this without having to restart during testing. Default: CMD+]

--force-normal

This argument will force a SwiftDialog window with the "Normal Mode" options regardless of the current uptime or deferral options.

--force-notification

This argument will force a SwiftDialog Notification Center event regardless of the current uptime or deferral options.

--dry-run

Disables the restart/quit functionality of the "Restart" button for testing purposes. Also ignores active deferral count and sets uptime to ensure an event is triggered.

--defer5 or --defer10

Executes a deferral and exits, setting the "Defer until" date 5 or 10 minutes into the future.