hk util end-of-file-fixer
- Usage:
hk util end-of-file-fixer [-d --diff] [-f --fix] <FILES>… - Effect: modifies state
Check for and optionally fix missing final newlines
Arguments
<FILES>…— Files to check/fix
Flags
-d --diff— Output a diff of the change. Cannot use withfix.-f --fix— Fix files to end with exactly one newline-h --help— Print help
