Curmudgeonly is an adjective describing a person who is irritable, ill-tempered, and frequently grouchy, often in a curmudgeonlike, cantankerous manner. The term carries a hint of endearment or humorous judgment, rather than outright hostility, and is commonly used to describe someone whose crankiness is consistent but not malicious.
Full pronunciation guide