Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Version always displayed

Date2025-09-13 12:47
FromEduardo Moguillansky
Subject[Csnd-dev] Version always displayed
Hi

I noticed that since some weeks ago the csound version is always displayed and there is no way to capture that output. It is fine to let it on by default (which results in a double version being output when called under "csound --version"), but at least I would like a flag to disable this (happy to do a PR with that)

-- Eduardo

Date2025-09-13 13:27
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Version always displayed
I have changed things around to give a cleaner display of compilation info (warnings, errors) and that may have caused what you are observing. Happy to take a PR that fixes your issue without disrupting the current message order.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Sep 2025, at 12:47, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi

I noticed that since some weeks ago the csound version is always displayed and there is no way to capture that output. It is fine to let it on by default (which results in a double version being output when called under "csound --version"), but at least I would like a flag to disable this (happy to do a PR with that)

-- Eduardo

Date2025-09-13 14:06
FromEduardo Moguillansky
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Version always displayed
There already is an undocumented flag "--print_version" which prints version at the end of execution. I propose to either document that flag and disable printing the version by default or to change it to "--suppress_version" to prevent printing the version

On Sat, Sep 13, 2025 at 2:27 PM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
I have changed things around to give a cleaner display of compilation info (warnings, errors) and that may have caused what you are observing. Happy to take a PR that fixes your issue without disrupting the current message order.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Sep 2025, at 12:47, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi

I noticed that since some weeks ago the csound version is always displayed and there is no way to capture that output. It is fine to let it on by default (which results in a double version being output when called under "csound --version"), but at least I would like a flag to disable this (happy to do a PR with that)

-- Eduardo

Date2025-09-13 16:07
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Version always displayed
I think we could use that flag to print version and exit. We could have another one then to suppress.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Sep 2025, at 14:06, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:


There already is an undocumented flag "--print_version" which prints version at the end of execution. I propose to either document that flag and disable printing the version by default or to change it to "--suppress_version" to prevent printing the version

On Sat, Sep 13, 2025 at 2:27 PM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
I have changed things around to give a cleaner display of compilation info (warnings, errors) and that may have caused what you are observing. Happy to take a PR that fixes your issue without disrupting the current message order.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Sep 2025, at 12:47, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi

I noticed that since some weeks ago the csound version is always displayed and there is no way to capture that output. It is fine to let it on by default (which results in a double version being output when called under "csound --version"), but at least I would like a flag to disable this (happy to do a PR with that)

-- Eduardo