You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bad idea...not a major issue mind you, but might be cleaner for some folks. The other thing I thought of was if you do run it as non-root, you could say so (like it does) but then also display the help info as if --help was specified. Just an idea.
As far as I can see, the first thing
main()
does is to check if it runs as root, even before the argument parser is built:emby-updater/embyupdater/__init__.py
Lines 177 to 184 in 9c3aaa7
I think this is a bit restrictive. If you move the check below
emby-updater/embyupdater/__init__.py
Line 200 in 9c3aaa7
both
--help
and--version
can be used as non-root, while the system-altering functions are still protected.The text was updated successfully, but these errors were encountered: