local: Make clear command mesages more clear

(cherry picked from commit 812f018d5923829cad0a7bcfcea3cb428bf95f18)
local: Fix typo

(cherry picked from commit 884c1b9803d024f1d1615ad10ce4bdc30e9d8e41)
local: Use print() function

(cherry picked from commit d0a305a8e2208d1188c4013328a64d5d7f17de9c)