Is point station -station an alias for point station -name
I've just noticed one of our projects has a lot of scrap statements like: point 12998.7 3142.7 station -station 1.22 which are intended to have the same effect as: point 12998.7 3142.7 station -name 1.22 however nothing bad seems to be happening that I have noticed. Is -station a legitimate alias for -name in this circumstance? Or is it an 'accidental' alias? Only noticed because Therion Studio highlighted it as an anomaly. I didn't find anything suggesting this is an intended alias in the Therion Book, but only had a quick look. Bruce
On Wed, Jun 17, 2026 at 08:13:33AM +1200, bruce@tomo.co.nz wrote:
Is -station a legitimate alias for -name in this circumstance? Or is it an 'accidental' alias?
They're explicitly aliased in the code - thpoint.h has: /** * point command options parsing table. */ static const thstok thtt_point_opt[] = { [...] {"name", TT_POINT_STATION}, [...] {"station", TT_POINT_STATION}, [...] }; Looks like "station" was added here in 2007 by a commit only described as "snapshot 20070525".
Only noticed because Therion Studio highlighted it as an anomaly. I didn't find anything suggesting this is an intended alias in the Therion Book, but only had a quick look.
I can't see it in the manual either. Cheers, Olly
participants (2)
-
bruce@tomo.co.nz -
Olly Betts