Revert "Enhanced Flag Handling"

This reverts commit f020592b5905c0dece7763686ddeb276bceb85e8.
Restore the new flag names, after reverting the flag parsing changes
Don't crash if no sync function is found (e.g. no config file)

Previous code was dereferencing config.Sync without testing it for nil
first.