Closed Reptorian1125 closed 8 months ago
What's the problem with the current message ?
~$ gmic sp lena q
[gmic]./ Start G'MIC interpreter (v.3.3.3).
[gmic]./ Input sample image 'lena' (1 image 512x512x1x3).
[gmic]./ Quit G'MIC interpreter.
It's not giving me that terminating message. This is what it gives me:
C:\Windows\System32>gmic run_pyscript
[gmic]./ Start G'MIC interpreter (v.3.3.3).
[gmic]./ Allowed arguments: 0-1(inclusive) or shift_vars_num,modify_gui_vars.
[gmic]./ Arg 0 : shift_vars_num - Shift variables numbers.
[gmic]./ Arg 1 : modify_gui_vars - Modify GUI Variables to append numbers or to remove numbers into GUI Variables.
So, I do have to be missing something here.
If I increase verbosity level, I get this:
[gmic]./run_pyscript/ Quit G'MIC interpreter.
Which is not exactly what I want to see because of run_pyscript part.
It's actually intended. If you're in a command with a verbosity level of 0
, there are no reason why an output message should be displayed.
To force the message, just force the verbosity level to be at least 1
before quit
:
v 1 q
There should be a default terminating echo message which is:
[gmic]./ End G'MIC interpreter.
. Optionally, arguments would override this message.Now I have something like this for one of my personal user command to run Python files that aids in G'MIC scripting.
With a default print message, that can be shortened to just q or quit. I also noticed that commands that use q/quit typically don't have other codes beyond q/quit.
Here's the command code I'm using, so maybe I'm missing something here?