Skip to content

Commit

Permalink
New comments and bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej123456789 committed Mar 9, 2022
1 parent b3a0afa commit e7d67d4
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 45 deletions.
12 changes: 6 additions & 6 deletions src/functions/Calc.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: Caluclator file for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: Caluclator file for Termi Lua
---

print("Enter what function to do (+, -, *, /)")

Expand Down
12 changes: 6 additions & 6 deletions src/functions/Geocalc.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: Geo caluclator file for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: Geo caluclator file for Termi Lua
---

print("Enter what function to do (EXT, SRF)")

Expand Down
12 changes: 6 additions & 6 deletions src/functions/createf.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: File to create new files for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: File to create new files for Termi Lua
---

io.write("> ")
openf = io.read()
Expand Down
12 changes: 6 additions & 6 deletions src/functions/help.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: Help file for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- PROJECT: Termi-Lua
--- LICENSE: BSD-3-Clause-License
--- DESCRIPTION: Help file for Termi Lua
---

print("COMMANDS THAT START WITH ! :")
print(" !help -- shows list of commands")
Expand Down
12 changes: 6 additions & 6 deletions src/functions/mkdir.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: File to crate new folder for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: File to crate new folder for Termi Lua
---

io.write("> ")
dirname = io.read()
Expand Down
12 changes: 6 additions & 6 deletions src/functions/rm.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: File to remove something for Termi Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: File to remove something for Termi Lua
---

io.write("> ")
path = io.read()
Expand Down
18 changes: 9 additions & 9 deletions src/main.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--
-- @author Stjepan Bilić Matišić
-- PROJECT: Termi-Lua
-- LICENSE: BSD-3-Clause-License
-- DESCRIPTION: Main file for Termi-Lua
--
---
--- @author Stjepan Bilić Matišić
--- @PROJECT: Termi-Lua
--- @LICENSE: BSD-3-Clause-License
--- @DESCRIPTION: Main file for Termi-Lua
---

local ver = "0.0.5"

Expand Down Expand Up @@ -52,9 +52,9 @@ repeat

elseif input == "OpenGeocalc" then
dofile("functions/Geocalc.lua")
elseif input.len(0) then --enter
--nothing

elseif #input == 0 then
-- do nothing

else
print("Invalid command!")
Expand Down

0 comments on commit e7d67d4

Please sign in to comment.