In a textbook1, I found the following clear definition of hydrogen bonds:
The strongest secondary bonding type, the hydrogen bond, is a special case of polar molecule bonding. It occurs between molecules in which hydrogen is covalently bonded to fluorine (as in $\ce{HF}$), oxygen (as in $\ce{H_2O}$), and nitrogen (as in $\ce{NH_3}$). For each $\ce{H-F}$, $\ce{H-O}$, or $\ce{H-N}$ bond, the single hydrogen electron is shared with the other atom. Thus, the hydrogen end of the bond is essentially a positively charged bare proton that is unscreened by any electrons.
This is not an "etc." definition. It is made clear that we only call it a hydrogen bond when we have either of the three bonds: $\ce{H-F}$, $\ce{H-O}$ or $\ce{H-N}$.
My question is why this definition excludes compounds such as $\ce{HCl}$? $\ce{HCl}$ and $\ce{HF}$ are very similar with one covalent bond that pulls the hydrogen electron towards their "shared" region, exposing the hydrogen atom as a positive end of this permanent dipole. Both can create secondary dipole bonds to adjacent molecules of the same type.
Why is $\ce{HF}$ called a hydrogen bond while $\ce{HCl}$ is not?
1 Materials Science and Engineering by W. D. Callister & D. G. Rethwisch, Wiley, 8th edition