Skip to content

Commit

Permalink
[FIX] Help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
XDuskAshes committed May 27, 2024
1 parent 6877c59 commit dc384b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stitch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
-- Licensed under the MIT License - <https://opensource.org/license/mit>

local args = {...}

if #args < 1 or args[1] == "help" then
print("Stitch - Efficient file cobbler")
print("Usage:\n stitch <file>")
print("You should point it to a Stitch-compatible JSON file. See docs for more details:\n <https://github.com/XDuskAshes/stitch/tree/main/docs>")
return
end

local ver = 1.0
local jsonfile = args[1]
local toLog = {}
Expand Down

0 comments on commit dc384b9

Please sign in to comment.