Page 1 of 1

-help or -?

Posted: Sun Sep 10, 2017 11:19 pm
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.

Re: -help or -?

Posted: Mon Sep 11, 2017 11:08 pm
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.

Re: -help or -?

Posted: Tue Sep 12, 2017 6:47 pm
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.

Re: -help or -?

Posted: Wed Sep 13, 2017 9:00 pm
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.