Customize the format string to get what you exactly need.
EDIT (29-Nov-2021)
I might be wrong about vcftools being obsolete. There is also a catch with extracting loci from VCF files - the VCF may not be left-aligned, and it might have multi-allelic entries, which would interfere with operations that rely on matching CHR-POS-REF-ALT entries. One should use either vt (vt decomp, then vt normalize) or bcftools norm -m to pre-process the VCF before extracting fields, as POS, REF and ALT for certain entries might change after these operations. vt is better than bcftools IMO as it retains the old multi-allelic/pre-left-aligned information as INFO entries.
Seems that you got the answer here!