# File lib/fastcst/command/show.rb, line 19 19: def validate 20: valid? @repo_dir, "Could not find repository directory" 21: valid?((@id or @rev or @current), "You must specify either an id or revision name (or use -c)") 22: valid?((not (@id and @rev)), "You cannot specify an id (-i) AND a revision name (-r)") 23: 24: return @valid 25: end