Skip to content

Commit

Permalink
Renamed subcommand save to patch
Browse files Browse the repository at this point in the history
Gut command names should follow the design notes: #9
  • Loading branch information
sineemore committed Jan 31, 2019
1 parent 94299f9 commit c3704c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ local function usage(f)
f = f or io.stderr
f:write(
'usage:\n',
string.format(' %s start\n', argv0),
string.format(' %s status\n', argv0),
string.format(' %s diff\n', argv0),
string.format(' %s help\n', argv0)
string.format(' %s patch\n', argv0),
string.format(' %s start\n', argv0),
string.format(' %s status\n', argv0),
)
os.exit(f ~= io.stderr)
end
Expand All @@ -35,7 +36,7 @@ local name = table.remove(arg, 1)
local command = ({

diff = require 'command/diff',
save = require 'command/save',
save = require 'command/patch',
start = require 'command/start',
status = require 'command/status',

Expand Down

0 comments on commit c3704c9

Please sign in to comment.