common/command.c: revert changes from commit 199adb60