Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
1.74k stars 95 forks source link

unexpected argument for -I #375

Closed cupcat121 closed 3 months ago

cupcat121 commented 3 months ago

version

eedd643

how to reproduce

run ags -I

output

(gjs:50327): Gjs-ERROR **: 18:39:06.219: option parsing failed: Missing argument for -I

As ags --init and ags init initialize ags config directory with no excess arguments, ags -I was supposed to be consistent. Is it intended?

cupcat121 commented 3 months ago

seems that -I get passed to gjs instead of ags, and -I is assigned to add the directory to the list of directories to search for js files in gjs