If, from the showing of the petitioner, the plaintiff would not be entitled to any relief, the writ may be refused, the reasons for such refusal being briefly endorsed upon the petition, or appended thereto.