extended info when no domain is given v3
... the easy way ... the better way is ... a parameter to get domain status... like gluon-switch-domain status --> uci get gluon.core.domain ...but... until then... this is helpful... 3rd version
This commit is contained in:
parent
843ec957d4
commit
4ec500f518
@ -16,7 +16,7 @@ end
|
||||
local setup_mode = unistd.access('/var/gluon/setup-mode') == 0
|
||||
|
||||
if #arg ~= 1 then
|
||||
io.stderr:write('Usage: gluon-switch-domain [--no-reboot] <domain>\nUse: uci show gluon.core to view your actual domain\n')
|
||||
io.stderr:write('Usage: gluon-switch-domain [--no-reboot] <domain>\nUse: "uci show gluon.core" to view your actual domain\n')
|
||||
os.exit(1)
|
||||
end
|
||||
local domain = arg[1]
|
||||
|
Loading…
Reference in New Issue
Block a user