[OpenSCAD] Command line parsing

nop head nop.head at gmail.com
Wed Sep 26 04:03:42 EDT 2018


This PR <https://github.com/openscad/openscad/pull/2107> added the psn
argument for MAC. If that is the only extra parameter that OSX adds then we
can remove allow_unregistered().

On 25 September 2018 at 23:42, nop head <nop.head at gmail.com> wrote:

> Doesn't this fix that problem? https://github.com/openscad/
> openscad/blob/master/src/openscad.cc#L846. I think it came later.
>
> I have never known any other program accept random parameters silently. It
> it needs to on a Mac it should be Mac specific.
>
> On 25 September 2018 at 22:16, Torsten Paul <Torsten.Paul at gmx.de> wrote:
>
>> On 09/25/2018 10:27 AM, nop head wrote:
>>
>>> Anybody know why allow_unregistered was used?
>>>
>> >
>> That was introduced in:
>> https://github.com/openscad/openscad/commit/752f35eab6c7b20d
>> 188bc36836e622665c8eba42
>>
>> IIRC that was due to MacOS passing some extra parameters in some cases.
>>
>> ciao,
>>   Torsten.
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20180926/2dba0ab4/attachment.html>


More information about the Discuss mailing list