Update toggleGlobalMenu.nim

This commit is contained in:
Rokosun 2024-01-01 15:34:09 +00:00
parent 2e5694bc79
commit a1e5a7fde9

View File

@ -25,8 +25,8 @@ proc showHelp() =
echo fmt"""
Usage: {executableName} <option>
Options:
enable install global menus
disable remove global menus"""
enable enable global menus
disable disable global menus"""
if execProcess("/usr/bin/id", args=["--user"], options={}) != "0\n":
echo "Run this program as root."