v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
645 stars 58 forks source link

Could not make --rest option to work #256

Open sergei-mironov opened 5 months ago

sergei-mironov commented 5 months ago

Hi. Despite all my efforts, I can not make yad to read additional arguments from a file.

Here is what I do:

(
echo "--title"  # also tried "title" without dashes, did not help
echo "My title"
) >_args
yad  --rest=_args

My expectation: yad shows a window titled with "My title" string. But yad shows the default window instead. Could you please help?

$ yad --version
12.0 (GTK+ 3.24.35)
v1cont commented 5 months ago

--rest is for extra command line arguments such as list or form data. not for options

if you wish to use a kind of external entity for some options - there is YAD_OPTIONS environment variable