TOOLS-719 Add "-p" option to print the primary IP only.