Changing messages for both smelling something or nothing

I can try:

Instead of smelling: say "You smell the fresh air."

This is good for the command SMELL, but gives the wrong response for SMELL [SOMETHING].

Alternatively, I can do:

Instead of smelling something: if the noun is blah blah blah: otherwise if the noun is blah blah blah: otherwise if ...

But this only gives a generic response to SMELL. Even if I try a rule for supplying a missing noun, I can’t get around this.

How can I have meaningful response to both SMELL and SMELL [SOMETHING]?

When an action can apply to either something or nothing (only “smelling” and “listening to” in the Standard Library afaik), the nounless form usually applies to the location.

Instead of smelling the Garden... Instead of smelling the location...