-help or -?

Discuss any general programming issues here
Post Reply
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

-help or -?

Post by r-tea »

I want to add "help" and/or "?" console options(s) to my application, but it seems to Hollywood ignores both. I can see there's already -help option implemented for hollywood compiler.
Does Hollywood make difference for -help passed to itself and -help passed to a standalone executablehandled from within?
And what about -? argument? It seems to be ignored as well.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: -help or -?

Post by airsoftsoftwair »

Arguments have to start with a letter from the English alphabet so "?" is not acceptable. Also, arguments recognized by Hollywood itself are reserved, so you cannot use -help either.
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: -help or -?

Post by r-tea »

Thanks for clarifying.
Have you ever considered to support AmigaOS like parameters - without "-" character?
They (parameters) would be distinguished depending on what is executed - Hollywood itself followed by a csript or a standalone executable made with Hollywood.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: -help or -?

Post by airsoftsoftwair »

Hollywood used Amiga-style parameters without the hyphen prior to Hollywood 3.0 but this was then dropped when cross-platform functionality was introduced. I don't think it makes sense to go back to the old style now.
Post Reply