lib: Revise some of the SYNOPSIS examples

Signed-off-by: Niels Thykier <niels@thykier.net>