aboutsummaryrefslogtreecommitdiff
path: root/core/args.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-06-24 17:41:51 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-06-24 17:41:51 -0400
commite192e73a92eb896f9c8623d11a8c49ebbcb4c291 (patch)
tree7c09774b3fa143126e8373c2a0c3d901f3e7273c /core/args.lua
parent282c7dd9fe5c903a4620d41c9498153e83867119 (diff)
downloadtextadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.tar.gz
textadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.zip
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'core/args.lua')
-rw-r--r--core/args.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/args.lua b/core/args.lua
index 173ef914..f59a52cd 100644
--- a/core/args.lua
+++ b/core/args.lua
@@ -56,9 +56,9 @@ end
-- Shows all registered command line switches in a help dialog.
local function show_help()
- _G.print('Usage: textadept [args] [filenames]')
+ print('Usage: textadept [args] [filenames]')
local line = " %s [%d args]: %s"
- for k, v in pairs(switches) do _G.print(line:format(k, unpack(v, 2))) end
+ for k, v in pairs(switches) do print(line:format(k, unpack(v, 2))) end
os.exit()
end
register('-h', '--help', 0, show_help, 'Displays this')