Skip to contentSkip to conversation

Feature request: print status messages to the terminal

cocci Julia Lawall 1 participant 1 message Oct 30, 2021

lore
Share & tools
lore
#0 lore raw
Quoted 12 lines · Nicolas Palix

Hi,

Quoted 8 lines · Julia Lawall

Hello,

I'm still trying to understand what is the real goal for this issue, to see if it could be handled in some other way. Do you want status messages to be separated from real errors? Perhaps it would be sufficient to have an option that would put the status messages on standard out? Then you could give the -o argument to put the generated patch into a file.

Quoted 7 lines

I think it could be a --log-output option.
That way, it could be set from the command line to either a file or /dev/tty.

I was also thinking of a --(show-)progress option otherwise.

I think it's better to keep the default output for report/patch printing generated by the SmPL file.

OK, I'm not really concerned about the name of the option. But I'm not enthusiastic at all about adding yet another dependency, ie the library you indicated. The idea of an output that always appears on the screen and is not capturable also feels fairly useless to me...

julia