Pipe it to cut and use the first field.
sha512sum FILENAME | cut -d ' ' -f 1
Options don't seem to be there.
548k questions
547k answers
4 comments
86.3k users